summaryrefslogtreecommitdiffstats
path: root/data/gnome-session.target
diff options
context:
space:
mode:
Diffstat (limited to 'data/gnome-session.target')
-rw-r--r--data/gnome-session.target13
1 files changed, 13 insertions, 0 deletions
diff --git a/data/gnome-session.target b/data/gnome-session.target
new file mode 100644
index 0000000..e8d228e
--- /dev/null
+++ b/data/gnome-session.target
@@ -0,0 +1,13 @@
+[Unit]
+Description=GNOME Session
+DefaultDependencies=no
+RefuseManualStart=yes
+RefuseManualStop=yes
+
+BindsTo=graphical-session.target
+Before=graphical-session.target
+
+# gnome-session-monitor.service will quit with the session leader process
+# gnome-session.target pulls in graphical-session.target
+BindsTo=gnome-session-monitor.service
+After=gnome-session-monitor.service