]> code.ossystems Code Review - openembedded-core.git/commit
openssh: avoid screen sessions being killed on disconnect with systemd
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 6 Nov 2014 05:08:51 +0000 (21:08 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Nov 2014 11:38:50 +0000 (11:38 +0000)
commit6e6aeb7cca52b92a0c8013473e2b8bb18738a119
tree9f6ae3893edd0e4995706029a1e9ca5066f726b6
parentd1729495a19bda411fa84310ecf6c0ac3073ce36
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 master 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>
meta/recipes-connectivity/openssh/openssh/sshd@.service