summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--services/applications/sshd.cf5
1 files changed, 5 insertions, 0 deletions
diff --git a/services/applications/sshd.cf b/services/applications/sshd.cf
index c4448a4..bb452e4 100644
--- a/services/applications/sshd.cf
+++ b/services/applications/sshd.cf
@@ -21,6 +21,11 @@ bundle agent sshd
commands:
freebsd.!sshd_service_running::
"/usr/sbin/service sshd start" classes => if_repaired("sshd_service_repaired");
+ services:
+ linux::
+ "sshd"
+ service_policy => "start",
+ classes => if_repaired("sshd_service_repaired");
reports:
any::
"$(this.bundle): /root/.ssh directory repaired" ifvarclass => "sshd_ssh_dir_repaired";