summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2014-10-14 13:39:10 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-18 14:14:03 (GMT)
commita9dc143c44663ea31ea5cff8ac931ab3d6884e85 (patch)
tree99aed187606dd5191db09e4c0662dca19f6a262b /meta/recipes-connectivity
parentf95d3fce42fe1021d6fb373b6d7b6fe1e84a752b (diff)
downloadpoky-a9dc143c44663ea31ea5cff8ac931ab3d6884e85.tar.gz
openssh: avoid screen sessions being killed on disconnect with systemd
Tell systemd just to kill the sshd process when the ssh connection drops instead of the entire cgroup for sshd, so that any screen sessions (and more to the point, processes within them) do not get killed. (This is what the Fedora sshd service file does, and what we're already doing in the dropbear service file). (From OE-Core rev: 3c238dff41fbd3687457989c7b17d22b2cc844be) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/openssh/openssh/sshd@.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh/sshd@.service b/meta/recipes-connectivity/openssh/openssh/sshd@.service
index 4eda659..bb2d68e 100644
--- a/meta/recipes-connectivity/openssh/openssh/sshd@.service
+++ b/meta/recipes-connectivity/openssh/openssh/sshd@.service
@@ -8,3 +8,4 @@ ExecStart=-@SBINDIR@/sshd -i
8ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID 8ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID
9StandardInput=socket 9StandardInput=socket
10StandardError=syslog 10StandardError=syslog
11KillMode=process