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 <[email protected]>
---
 projectroot/usr/lib/systemd/system/[email protected] | 1 +
 1 file changed, 1 insertion(+)

diff --git a/projectroot/usr/lib/systemd/system/[email protected] 
b/projectroot/usr/lib/systemd/system/[email protected]
index 3814e9f7b095..269127c8f3ac 100644
--- a/projectroot/usr/lib/systemd/system/[email protected]
+++ b/projectroot/usr/lib/systemd/system/[email protected]
@@ -1,6 +1,7 @@
 [Unit]
 Description=SSH Per-Connection Server
 DefaultDependencies=no
+IgnoreOnIsolate=true
 
 [Service]
 ExecStart=/usr/sbin/sshd -i
-- 
2.29.2


_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to