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