1
0
mirror of https://github.com/serghey-rodin/vesta.git synced 2025-03-12 04:36:25 -07:00
vesta/install/rhel/7/monit/sshd.conf
WebZation c5bb40461c Update sshd.conf
Update to CentOS 7 comand!
2016-10-22 02:25:14 -02:00

5 lines
201 B
Plaintext

check process sshd with pidfile /var/run/sshd.pid
start program = "/usr/bin/systemctl start sshd"
stop program = "/usr/bin/systemctl stop sshd"
if failed port 22 protocol ssh then restart