summaryrefslogtreecommitdiffstats
path: root/data/gnome-initial-setup-first-login.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'data/gnome-initial-setup-first-login.service.in')
-rw-r--r--data/gnome-initial-setup-first-login.service.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/data/gnome-initial-setup-first-login.service.in b/data/gnome-initial-setup-first-login.service.in
new file mode 100644
index 0000000..940395a
--- /dev/null
+++ b/data/gnome-initial-setup-first-login.service.in
@@ -0,0 +1,19 @@
+[Unit]
+Description=GNOME Initial Setup
+
+BindsTo=gnome-session.target
+After=gnome-session.target
+
+# Together with Type=oneshot, make sure the welcome tour starts after setup
+Before=gnome-welcome-tour.service
+
+# Never run in GDM
+Conflicts=gnome-session@gnome-login.target
+
+Conflicts=gnome-session@gnome-initial-setup.target
+ConditionPathExists=!%E/gnome-initial-setup-done
+
+[Service]
+Type=oneshot
+ExecStart=@libexecdir@/gnome-initial-setup --existing-user
+Restart=no