openssh: avoid screen sessions being killed on disconnect with systemd
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 14 Oct 2014 13:39:10 +0000 (14:39 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 18 Oct 2014 14:14:03 +0000 (16:14 +0200)
commit401cec3bbf7cac4f801502658ebc7e4446da1ae1
treeb200b0a02215431fb751518b07dd41fff40bbe0e
parent74a5cfbf4410c645b55faa3f49639b2933cfa8d3
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>
meta/recipes-connectivity/openssh/openssh/sshd@.service