configuration-templates
/monit/debian/templates/sshguard |
@@ -0,0 +1,9 @@ |
########################################################################### |
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
########################################################################### |
|
check process sshguard with pidfile /var/run/sshguard.pid |
start program "/etc/init.d/sshguard start" |
stop program "/etc/init.d/sshguard stop" |
# if failed port 22 protocol ssh then restart |
# if 5 restarts within 5 cycles then timeout |