summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2015-03-30 21:53:33 -0400
committerRay Strode <rstrode@redhat.com>2015-03-30 21:55:23 -0400
commitcd0a0babcfdfee90d08b0c09367b3ff477581d6f (patch)
tree25dc62afde5ef5fc72c97b2e0f9884b71b165476
parentb48e39e0dc7623ae728bbf4a928e150e0138d673 (diff)
downloadgdm-cd0a0babcfdfee90d08b0c09367b3ff477581d6f.tar.gz
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
-rw-r--r--data/gdm.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/gdm.service.in b/data/gdm.service.in
index 454e52e5..6608c2c3 100644
--- a/data/gdm.service.in
+++ b/data/gdm.service.in
@@ -21,6 +21,7 @@ OnFailure=plymouth-quit.service
[Service]
ExecStart=@sbindir@/gdm
+KillMode=process
Restart=always
IgnoreSIGPIPE=no
BusName=org.gnome.DisplayManager