summaryrefslogtreecommitdiffstats
path: root/data/gnome-session-x11.target
diff options
context:
space:
mode:
Diffstat (limited to 'data/gnome-session-x11.target')
-rw-r--r--data/gnome-session-x11.target16
1 files changed, 16 insertions, 0 deletions
diff --git a/data/gnome-session-x11.target b/data/gnome-session-x11.target
new file mode 100644
index 0000000..e13cc9e
--- /dev/null
+++ b/data/gnome-session-x11.target
@@ -0,0 +1,16 @@
+[Unit]
+Description=GNOME X11 Session
+# On X11, try to show the fail screen
+OnFailure=gnome-session-failed.target
+OnFailureJobMode=replace
+# Avoid default After/Before rules
+DefaultDependencies=no
+
+Before=gnome-session.target
+
+PartOf=graphical-session.target
+RefuseManualStart=yes
+RefuseManualStop=yes
+
+# Pull in all X11-specific services the session might depend on
+Requires=gnome-session-x11-services.target