summaryrefslogtreecommitdiffstats
path: root/conf/system/afm-user-session@.service
diff options
context:
space:
mode:
Diffstat (limited to 'conf/system/afm-user-session@.service')
-rw-r--r--conf/system/afm-user-session@.service7
1 files changed, 2 insertions, 5 deletions
diff --git a/conf/system/afm-user-session@.service b/conf/system/afm-user-session@.service
index fae3e46..5bedf94 100644
--- a/conf/system/afm-user-session@.service
+++ b/conf/system/afm-user-session@.service
@@ -2,10 +2,7 @@
Description=Initiate afm-user-session %i
Requires=systemd-user-sessions.service
After=systemd-user-sessions.service
-Requires=afm-user-session@%i.target
-Before=afm-user-session@%i.target
[Service]
-PAMName=afm-user-session
User=%i
-Type=simple
-ExecStart=/bin/sleep 2147483648
+PAMName=afm-user-session
+ExecStart=/bin/systemctl --wait start afm-user-session@%i.target