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