Commit cd0a0bab authored by Ray Strode's avatar Ray Strode

systemd: change to KillMode=process•

By default systemd will kill the entire control-group in one fell
swoop. The problem is, things don't get shutdown in the right
order then, and there's a race where GDM will begin restarting
X servers as soon as they're killed.

This commit tells systemd to just kill the main GDM process, and
let it handle killing all its children on its own.

https://bugzilla.gnome.org/show_bug.cgi?id=747088
parent b48e39e0
......@@ -21,6 +21,7 @@ OnFailure=plymouth-quit.service
[Service]
ExecStart=@sbindir@/gdm
KillMode=process
Restart=always
IgnoreSIGPIPE=no
BusName=org.gnome.DisplayManager
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment