configuration-templates
/monit/debian/templates/minidlna |
@@ -0,0 +1,9 @@ |
########################################################################### |
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
########################################################################### |
|
check process minidlna with pidfile /var/run/minidlna/minidlna.pid |
start program = "/etc/init.d/minidlna start" |
stop program = "/etc/init.d/minidlna stop" |
if failed host 127.0.0.1 port 8200 type tcp then restart |
# if 5 restarts within 5 cycles then timeout |