configuration-templates
/monit/debian/templates/sshd |
---|
@@ -2,7 +2,7 @@ |
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
########################################################################### |
check process sshd with pidfile /var/run/sshd.pid |
check process sshd with pidfile /run/sshd.pid |
start program "/etc/init.d/ssh start" |
stop program "/etc/init.d/ssh stop" |
if failed port 22 protocol ssh then restart |