mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Merge pull request #887 from openbrasil/patch-13
Monit: update sshd.conf
This commit is contained in:
commit
11c1c8f2e0
1 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
|||
check process sshd with pidfile /var/run/sshd.pid
|
||||
start program = "/etc/init.d/sshd start"
|
||||
stop program = "/etc/init.d/sshd stop"
|
||||
start program = "/usr/bin/systemctl start sshd"
|
||||
stop program = "/usr/bin/systemctl stop sshd"
|
||||
if failed port 22 protocol ssh then restart
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue