configuration-templates

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 162  →  ?path2? @ 163
/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
/monit/debian/templates/deluged
@@ -0,0 +1,9 @@
###########################################################################
## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ##
###########################################################################
 
check process deluged matching "deluged"
start program "/bin/systemctl start deluged"
stop program "/bin/systemctl stop deluged"
if failed host 127.0.0.1 port 58846 type tcp then restart
# if 5 restarts within 5 cycles then timeout
/monit/debian/templates/prowlarr
@@ -0,0 +1,9 @@
###########################################################################
## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ##
###########################################################################
 
check process prowlarr matching "prowlarr"
start program "/bin/systemctl start prowlarr"
stop program "/bin/systemctl stop prowlarr"
if failed host 127.0.0.1 port 9696 type tcp then restart
# if 5 restarts within 5 cycles then timeout
/monit/debian/templates/readarr
@@ -0,0 +1,9 @@
###########################################################################
## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ##
###########################################################################
 
check process readarr matching "Readarr"
start program "/bin/systemctl start readarr"
stop program "/bin/systemctl stop readarr"
if failed host 127.0.0.1 port 8787 type tcp then restart
# if 5 restarts within 5 cycles then timeout
/monit/debian/templates/sonarr
@@ -2,7 +2,7 @@
## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ##
###########################################################################
 
check process sonarr matching "NzbDrone"
check process sonarr matching "Sonarr"
start program "/bin/systemctl start sonarr"
stop program "/bin/systemctl stop sonarr"
if failed host 127.0.0.1 port 8989 type tcp then restart