configuration-templates
/monit/debian/templates/savdid |
@@ -0,0 +1,9 @@ |
########################################################################### |
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
########################################################################### |
|
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 |