summaryrefslogtreecommitdiffstats
path: root/conf/system/afm-user-setup@.service
diff options
context:
space:
mode:
Diffstat (limited to 'conf/system/afm-user-setup@.service')
-rw-r--r--conf/system/afm-user-setup@.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/conf/system/afm-user-setup@.service b/conf/system/afm-user-setup@.service
new file mode 100644
index 0000000..124a4ca
--- /dev/null
+++ b/conf/system/afm-user-setup@.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Starts the session of afm user %i
+Requires=afm-user-setup@%i.path
+After=afm-user-setup@%i.path
+After=afm-user-session@%i.service
+Before=afm-user-session@%i.target
+After=user@%i.service
+[Service]
+User=%i
+ExecStartPre=/bin/echo USER SETUP %i
+ExecStartPre=/bin/systemctl status
+ExecStart=/bin/rm /run/user/%i/afm-user-started
+
+