########################################################################### ## Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3 ## ########################################################################### check process qbittorrent-nox matching "qbittorrent\-nox" 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