diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-03-05 18:04:35 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2021-03-12 13:29:50 +0100 |
commit | ca462509e90c4418159444f1972046a374eb96af (patch) | |
tree | a3e1c1c5028f2fa1522c9b00d2ebd9bd6c367b2e /projectroot | |
parent | 7b601010ec76bf977b08762680a0f82d14667d85 (diff) | |
download | ptxdist-ca462509e90c4418159444f1972046a374eb96af.tar.gz ptxdist-ca462509e90c4418159444f1972046a374eb96af.tar.xz |
openssh: Don't kill ssh sessions when isolating a unit
When system state is switched using systemctl isolate ssh sessions
usually shouldn't be killed. Make this the default.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Message-Id: <20210305170435.4466-1-u.kleine-koenig@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'projectroot')
-rw-r--r-- | projectroot/usr/lib/systemd/system/sshd@.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/projectroot/usr/lib/systemd/system/sshd@.service b/projectroot/usr/lib/systemd/system/sshd@.service index 3814e9f7b..269127c8f 100644 --- a/projectroot/usr/lib/systemd/system/sshd@.service +++ b/projectroot/usr/lib/systemd/system/sshd@.service @@ -1,6 +1,7 @@ [Unit] Description=SSH Per-Connection Server DefaultDependencies=no +IgnoreOnIsolate=true [Service] ExecStart=/usr/sbin/sshd -i |