summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssh
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2023-10-26 15:04:40 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-10-27 08:28:38 +0100
commit6c43e8403203805fa23171be80deb7717def034a (patch)
tree352d9c3e675abfb90fe7bca219594c6b5c7f77b8 /meta/recipes-connectivity/openssh
parent66b9bd9fe42faf5edd2a1565f5868edbd8221e28 (diff)
downloadpoky-6c43e8403203805fa23171be80deb7717def034a.tar.gz
openssh: Don't hardcode the dir in sshd.service
Don't hardcode the directory of the binary in sshd.service. (From OE-Core rev: 977820725c39736061b649389864a53e112e213d) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssh')
-rw-r--r--meta/recipes-connectivity/openssh/openssh/sshd.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh/sshd.service b/meta/recipes-connectivity/openssh/openssh/sshd.service
index 6ace67d8ae..2a997b656a 100644
--- a/meta/recipes-connectivity/openssh/openssh/sshd.service
+++ b/meta/recipes-connectivity/openssh/openssh/sshd.service
@@ -6,7 +6,7 @@ After=sshdgenkeys.service
6[Service] 6[Service]
7Environment="SSHD_OPTS=" 7Environment="SSHD_OPTS="
8EnvironmentFile=-/etc/default/ssh 8EnvironmentFile=-/etc/default/ssh
9ExecStartPre=/usr/bin/mkdir -p /var/run/sshd 9ExecStartPre=@BASE_BINDIR@/mkdir -p /var/run/sshd
10ExecStart=-@SBINDIR@/sshd -D $SSHD_OPTS 10ExecStart=-@SBINDIR@/sshd -D $SSHD_OPTS
11ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID 11ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID
12KillMode=process 12KillMode=process