configuration-templates – Diff between revs 149 and 163
?pathlinks?
Rev 149 | Rev 163 | |||
---|---|---|---|---|
1 | ########################################################################### |
1 | ########################################################################### |
|
2 | ## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ## |
2 | ## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ## |
|
3 | ########################################################################### |
3 | ########################################################################### |
|
4 | |
4 | |
|
5 | check process sonarr matching "NzbDrone" |
5 | check process sonarr matching "Sonarr" |
|
6 | start program "/bin/systemctl start sonarr" |
6 | start program "/bin/systemctl start sonarr" |
|
7 | stop program "/bin/systemctl stop sonarr" |
7 | stop program "/bin/systemctl stop sonarr" |
|
8 | if failed host 127.0.0.1 port 8989 type tcp then restart |
8 | if failed host 127.0.0.1 port 8989 type tcp then restart |
|
9 | # if 5 restarts within 5 cycles then timeout |
9 | # if 5 restarts within 5 cycles then timeout |
|
10 | |
10 | |