summaryrefslogtreecommitdiffstats
path: root/conf/system/afm-user-session@.service
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-11-24 16:34:42 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-11-24 17:44:58 +0100
commit1bec325ee85192eba57673750b9e4a77a1a970c8 (patch)
tree31fa472c3a26021031d52633317fca322767fd93 /conf/system/afm-user-session@.service
parentdb8968de9b88e75828475c1e26b657af21b75beb (diff)
simplify afm-user-session process
Change-Id: If2739fd2c5a19d7cd31e117e1e79c0b51451552b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
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