diff options
-rw-r--r-- | meta/recipes-connectivity/openssh/openssh/sshd.socket | 1 | ||||
-rw-r--r-- | meta/recipes-connectivity/openssh/openssh/sshd@.service | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh/sshd.socket b/meta/recipes-connectivity/openssh/openssh/sshd.socket index 12c39b26b5..8d76d62309 100644 --- a/meta/recipes-connectivity/openssh/openssh/sshd.socket +++ b/meta/recipes-connectivity/openssh/openssh/sshd.socket | |||
@@ -1,5 +1,6 @@ | |||
1 | [Unit] | 1 | [Unit] |
2 | Conflicts=sshd.service | 2 | Conflicts=sshd.service |
3 | Wants=sshdgenkeys.service | ||
3 | 4 | ||
4 | [Socket] | 5 | [Socket] |
5 | ExecStartPre=@BASE_BINDIR@/mkdir -p /var/run/sshd | 6 | ExecStartPre=@BASE_BINDIR@/mkdir -p /var/run/sshd |
diff --git a/meta/recipes-connectivity/openssh/openssh/sshd@.service b/meta/recipes-connectivity/openssh/openssh/sshd@.service index 9d83dfb2bb..422450c7a1 100644 --- a/meta/recipes-connectivity/openssh/openssh/sshd@.service +++ b/meta/recipes-connectivity/openssh/openssh/sshd@.service | |||
@@ -1,13 +1,11 @@ | |||
1 | [Unit] | 1 | [Unit] |
2 | Description=OpenSSH Per-Connection Daemon | 2 | Description=OpenSSH Per-Connection Daemon |
3 | Wants=sshdgenkeys.service | ||
4 | After=sshdgenkeys.service | 3 | After=sshdgenkeys.service |
5 | 4 | ||
6 | [Service] | 5 | [Service] |
7 | Environment="SSHD_OPTS=" | 6 | Environment="SSHD_OPTS=" |
8 | EnvironmentFile=-/etc/default/ssh | 7 | EnvironmentFile=-/etc/default/ssh |
9 | ExecStart=-@SBINDIR@/sshd -i $SSHD_OPTS | 8 | ExecStart=-@SBINDIR@/sshd -i $SSHD_OPTS |
10 | ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID | ||
11 | StandardInput=socket | 9 | StandardInput=socket |
12 | StandardError=syslog | 10 | StandardError=syslog |
13 | KillMode=process | 11 | KillMode=process |