mirror of
https://github.com/systemd/systemd.git
synced 2025-01-21 22:04:01 +03:00
user@.service: don't kill user manager at runlevel switch
Loggin in as root user and then switching the runlevel results in a stop of the user manager, even though the user ist still logged in. That leaves a broken user session. Adding "IgnoreOnIsolate=true" to user@.service fixes this.
This commit is contained in:
parent
2b8b1056d9
commit
8c1f04352b
@ -12,6 +12,7 @@ Description=User Manager for UID %i
|
||||
Documentation=man:user@.service(5)
|
||||
After=systemd-user-sessions.service user-runtime-dir@%i.service dbus.service
|
||||
Requires=user-runtime-dir@%i.service
|
||||
IgnoreOnIsolate=yes
|
||||
|
||||
[Service]
|
||||
User=%i
|
||||
|
Loading…
x
Reference in New Issue
Block a user