summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>2014-05-10 22:52:23 +0200
committerSimon McVittie <smcv@debian.org>2023-09-21 13:12:44 +0100
commitc3e2396671f0b6f0c9b372e2538f3b2583fb976d (patch)
tree9119efa7b1de2662025fe6975090a9629428759e
parent8de55793faee3817cf67ca37864285231181ef77 (diff)
Configure systemd service for Debian
* Regenerate dconf defaults from source files before start or reload * Use the right executable name for Debian * Delay restarts a little * Don't install the display-manager.service alias, which is managed jointly by all Debian display managers via a debconf question Authors: Josselin Mouette, Laurent Bigonville, Iain Lane Last-Update: 2017-10-05 Origin: vendor, Debian Forwarded: no Gbp-Pq: Name 92_systemd_unit.patch
-rw-r--r--data/gdm.service.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/gdm.service.in b/data/gdm.service.in
index 17e8a8de..066d7638 100644
--- a/data/gdm.service.in
+++ b/data/gdm.service.in
@@ -20,14 +20,14 @@ After=rc-local.service plymouth-start.service systemd-user-sessions.service
OnFailure=plymouth-quit.service
[Service]
-ExecStart=${sbindir}/gdm
+ExecStartPre=/usr/share/gdm/generate-config
+ExecStart=${sbindir}/gdm3
KillMode=mixed
Restart=always
+RestartSec=1s
IgnoreSIGPIPE=no
BusName=org.gnome.DisplayManager
EnvironmentFile=-${LANG_CONFIG_FILE}
+ExecReload=/usr/share/gdm/generate-config
ExecReload=/bin/kill -SIGHUP $MAINPID
KeyringMode=shared
-
-[Install]
-Alias=display-manager.service