configuration-templates – Rev 161
?pathlinks?
###########################################################################
## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ##
###########################################################################
check process sonarr matching "NzbDrone"
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
# if 5 restarts within 5 cycles then timeout