mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-06 13:17:44 +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. (cherry picked from commit8c1f04352b
) (cherry picked from commit464b297173
)
This commit is contained in:
parent
be4248baf8
commit
fcc04709f1
@ -10,6 +10,7 @@
|
||||
[Unit]
|
||||
Description=User Manager for UID %i
|
||||
After=systemd-user-sessions.service
|
||||
IgnoreOnIsolate=yes
|
||||
|
||||
[Service]
|
||||
User=%i
|
||||
|
Loading…
Reference in New Issue
Block a user