configuration-templates – Diff between revs 149 and 177
?pathlinks?
Rev 149 | Rev 177 | |||
---|---|---|---|---|
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 qbittorrent-nox matching "qbittorrent\-nox" |
5 | check process qbittorrent-nox matching "qbittorrent\-nox" |
|
6 | start program "/bin/systemctl start qbittorrent-nox" |
6 | start program "/bin/systemctl start qbittorrent-nox" |
|
7 | stop program "/bin/systemctl stop qbittorrent-nox" |
7 | stop program "/bin/systemctl stop qbittorrent-nox" |
|
8 | if failed host 127.0.0.1 port 8080 type tcp then restart |
8 | if failed host 127.0.0.1 port 8080 type tcp then restart |
|
- | 9 | # Leaks |
||
- | 10 | if memory usage > 30% for 2 cycles then restart |
||
9 | # if 5 restarts within 5 cycles then timeout |
11 | # if 5 restarts within 5 cycles then timeout |
|
10 | |
12 | |