configuration-templates – Blame information for rev 102
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
102 | office | 1 | ########################################################################### |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
||
3 | ########################################################################### |
||
4 | |||
5 | # Debian motion does not create a pid file so a process match is used. |
||
6 | check process motion matching "motion" |
||
7 | start program "/etc/init.d/motion restart" |
||
8 | stop program "/etc/init.d/motion stop" |
||
9 | # Enable webcontrol_port and adjust 8085 to match value. |
||
10 | if failed host 127.0.0.1 port 8085 type tcp then restart |
||
11 | # if 5 restarts within 5 cycles then timeout |