configuration-templates – Diff between revs 27 and 172

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 27 Rev 172
Line 1... Line 1...
1 ########################################################################### 1 ###########################################################################
2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## 2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
3 ########################################################################### 3 ###########################################################################
Line 4... Line 4...
4   4  
5 check process sshd with pidfile /var/run/sshd.pid 5 check process sshd with pidfile /run/sshd.pid
6 start program "/etc/init.d/ssh start" 6 start program "/etc/init.d/ssh start"
7 stop program "/etc/init.d/ssh stop" 7 stop program "/etc/init.d/ssh stop"
8 if failed port 22 protocol ssh then restart 8 if failed port 22 protocol ssh then restart
9 # if 5 restarts within 5 cycles then timeout 9 # if 5 restarts within 5 cycles then timeout