configuration-templates
/monit/debian/templates/balloond |
@@ -0,0 +1,8 @@ |
########################################################################### |
## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ## |
########################################################################### |
|
check process balloond matching "balloond" |
start program "/bin/systemctl start balloond" |
stop program "/bin/systemctl stop balloond" |
# if 5 restarts within 5 cycles then timeout |
/monit/debian/templates/wokd |
@@ -0,0 +1,9 @@ |
########################################################################### |
## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ## |
########################################################################### |
|
check process wokd matching "wokd" |
start program "/bin/systemctl start wokd" |
stop program "/bin/systemctl stop wokd" |
if failed host 127.0.0.1 port 8010 type tcp then restart |
# if 5 restarts within 5 cycles then timeout |