summaryrefslogtreecommitdiffstats
path: root/data/gnome-session-restart-dbus.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'data/gnome-session-restart-dbus.service.in')
-rw-r--r--data/gnome-session-restart-dbus.service.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/data/gnome-session-restart-dbus.service.in b/data/gnome-session-restart-dbus.service.in
new file mode 100644
index 0000000..e90f6bc
--- /dev/null
+++ b/data/gnome-session-restart-dbus.service.in
@@ -0,0 +1,10 @@
+[Unit]
+Description=Restart DBus after GNOME Session shutdown
+
+# Allow exit.target to start even if this unit is started with replace-irreversibly
+# Also put it into a slice that doesn't have such implicit dependencies
+DefaultDependencies=no
+
+[Service]
+Type=notify
+ExecStart=@libexecdir@/gnome-session-ctl --restart-dbus