15 lines
359 B
Text
15 lines
359 B
Text
|
set init
|
||
|
set daemon 60
|
||
|
set logfile syslog facility log_daemon
|
||
|
set pidfile /run/monit.pid
|
||
|
set idfile /var/lib/monit/id
|
||
|
set statefile /var/lib/monit/state
|
||
|
set eventqueue basedir /var/lib/monit/events slots 100
|
||
|
|
||
|
check program allow_networks
|
||
|
with path "/usr/local/bin/allow_networks"
|
||
|
every 1 cycles
|
||
|
if status = 0 then unmonitor
|
||
|
|
||
|
include /etc/monit.d/*.conf
|