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