[OE-core] [PATCH 1/1] openssh: avoid screen sessions being killed on disconnect with systemd
Paul Eggleton
paul.eggleton at linux.intel.com
Tue Oct 14 13:39:10 UTC 2014
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).
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
meta/recipes-connectivity/openssh/openssh/sshd at .service | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-connectivity/openssh/openssh/sshd at .service b/meta/recipes-connectivity/openssh/openssh/sshd at .service
index 4eda659..bb2d68e 100644
--- a/meta/recipes-connectivity/openssh/openssh/sshd at .service
+++ b/meta/recipes-connectivity/openssh/openssh/sshd at .service
@@ -8,3 +8,4 @@ ExecStart=- at SBINDIR@/sshd -i
ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID
StandardInput=socket
StandardError=syslog
+KillMode=process
--
1.9.3
More information about the Openembedded-core
mailing list