summaryrefslogtreecommitdiffstats
path: root/data/gnome-initial-setup-copy-worker.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'data/gnome-initial-setup-copy-worker.service.in')
-rw-r--r--data/gnome-initial-setup-copy-worker.service.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/data/gnome-initial-setup-copy-worker.service.in b/data/gnome-initial-setup-copy-worker.service.in
new file mode 100644
index 0000000..ee3c0d0
--- /dev/null
+++ b/data/gnome-initial-setup-copy-worker.service.in
@@ -0,0 +1,15 @@
+[Unit]
+Description=GNOME Initial Setup Copy Worker
+
+# Make sure we run really early
+Before=gnome-session-pre.target graphical-session-pre.target
+
+# Never run in GDM
+ConditionUser=!@system
+
+ConditionPathExists=!%E/gnome-initial-setup-done
+
+[Service]
+Type=oneshot
+ExecStart=@libexecdir@/gnome-initial-setup-copy-worker
+Restart=no