configuration-templates – Blame information for rev 168

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