summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssh/openssh/sshd@.service
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2015-09-30 15:53:16 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-01 07:43:37 +0100
commit299806d0dcb77271cb004b032cbfd83aa6fc4a00 (patch)
tree72dce965887972aa3f63133a69cec6ec7154c904 /meta/recipes-connectivity/openssh/openssh/sshd@.service
parent006497e36a78dd184457330a3d9c67f9dad6e3bb (diff)
downloadpoky-299806d0dcb77271cb004b032cbfd83aa6fc4a00.tar.gz
openssh: fix sshd key generation when systemd is in use and rootfs is readonly
[YOCTO #8365] (From OE-Core rev: d5ea131fe94939daabee1afe8219683de259b7a3) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssh/openssh/sshd@.service')
-rw-r--r--meta/recipes-connectivity/openssh/openssh/sshd@.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh/sshd@.service b/meta/recipes-connectivity/openssh/openssh/sshd@.service
index bb2d68e96a..9d83dfb2bb 100644
--- a/meta/recipes-connectivity/openssh/openssh/sshd@.service
+++ b/meta/recipes-connectivity/openssh/openssh/sshd@.service
@@ -4,7 +4,9 @@ Wants=sshdgenkeys.service
4After=sshdgenkeys.service 4After=sshdgenkeys.service
5 5
6[Service] 6[Service]
7ExecStart=-@SBINDIR@/sshd -i 7Environment="SSHD_OPTS="
8EnvironmentFile=-/etc/default/ssh
9ExecStart=-@SBINDIR@/sshd -i $SSHD_OPTS
8ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID 10ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID
9StandardInput=socket 11StandardInput=socket
10StandardError=syslog 12StandardError=syslog