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.target15
1 files changed, 15 insertions, 0 deletions
diff --git a/data/gnome-session.target b/data/gnome-session.target
new file mode 100644
index 0000000..ea30555
--- /dev/null
+++ b/data/gnome-session.target
@@ -0,0 +1,15 @@
+[Unit]
+Description=GNOME Session
+OnFailure=gnome-session-failed.target
+OnFailureJobMode=replace
+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