summaryrefslogtreecommitdiffstats
path: root/debian/patches/92_systemd_unit.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:43:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:43:08 +0000
commitf450ba4056f3af0d17aeb1e5534619ce2231b63d (patch)
tree22ac78ea73d361fe6af5cafc06a338dc03c1745a /debian/patches/92_systemd_unit.patch
parentAdding upstream version 43.0. (diff)
downloadgdm3-debian.tar.xz
gdm3-debian.zip
Adding debian version 43.0-3.debian/43.0-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/92_systemd_unit.patch')
-rw-r--r--debian/patches/92_systemd_unit.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/debian/patches/92_systemd_unit.patch b/debian/patches/92_systemd_unit.patch
new file mode 100644
index 0000000..5d6888c
--- /dev/null
+++ b/debian/patches/92_systemd_unit.patch
@@ -0,0 +1,42 @@
+From: Debian GNOME Maintainers
+ <pkg-gnome-maintainers@lists.alioth.debian.org>
+Date: Sat, 10 May 2014 22:52:23 +0200
+Subject: 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
+---
+ data/gdm.service.in | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/data/gdm.service.in b/data/gdm.service.in
+index 17e8a8d..066d763 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