configuration-templates
/monit/debian/templates/apcupsd |
---|
@@ -0,0 +1,8 @@ |
########################################################################### |
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
########################################################################### |
check process apcupsd with pidfile /var/run/apcupsd.pid |
start program "/etc/init.d/apcupsd restart" |
stop program "/etc/init.d/apcupsd stop" |
# if 5 restarts within 5 cycles then timeout |