configuration-templates – Rev 113
?pathlinks?
###########################################################################
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
###########################################################################
# Debian motion does not create a pid file so a process match is used.
check process motion matching "motion"
start program "/etc/init.d/motion restart"
stop program "/etc/init.d/motion stop"
# Enable webcontrol_port and adjust 8085 to match value.
if failed host 127.0.0.1 port 8085 type tcp then restart
# if 5 restarts within 5 cycles then timeout