1
1
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 commit 8c1f04352b)
(cherry picked from commit 464b297173)
This commit is contained in:
Thomas Blume 2018-09-12 15:10:58 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent be4248baf8
commit fcc04709f1

View File

@ -10,6 +10,7 @@
[Unit]
Description=User Manager for UID %i
After=systemd-user-sessions.service
IgnoreOnIsolate=yes
[Service]
User=%i