configuration-templates
/monit/debian/templates/flaresolverr |
@@ -0,0 +1,9 @@ |
########################################################################### |
## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ## |
########################################################################### |
|
check process flaresolverr matching "flaresolverr" |
start program "/bin/systemctl start flaresolverr" |
stop program "/bin/systemctl stop flaresolverr" |
if failed host 127.0.0.1 port 8191 type tcp then restart |
# if 5 restarts within 5 cycles then timeout |
/monit/debian/templates/qbittorrent-nox |
@@ -6,4 +6,6 @@ |
start program "/bin/systemctl start qbittorrent-nox" |
stop program "/bin/systemctl stop qbittorrent-nox" |
if failed host 127.0.0.1 port 8080 type tcp then restart |
# Leaks |
if memory usage > 30% for 2 cycles then restart |
# if 5 restarts within 5 cycles then timeout |
/monit/debian/templates/unpackerr |
@@ -0,0 +1,9 @@ |
########################################################################### |
## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ## |
########################################################################### |
|
check process unpackerr matching "unpackerr" |
start program "/bin/systemctl start unpackerr" |
stop program "/bin/systemctl stop unpackerr" |
if failed host 127.0.0.1 port 5656 type tcp then restart |
# if 5 restarts within 5 cycles then timeout |