| root@eg-02ECD0:~# ubus call service list '{"name": "monit", "verbose": true}'
{
"monit": {
"instances": {
"instance1": {
"running": true,
"pid": 1788,
"command": [
"/usr/bin/monit",
"-I"
],
"term_timeout": 5
}
},
"triggers": [
[
"interface.*",
[
"if",
[
"eq",
"interface",
"loopback"
],
[
"run_script",
"/etc/init.d/monit",
"reload"
]
],
1000
]
]
}
}
|