diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-11-24 16:34:42 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-11-24 17:44:58 +0100 |
commit | 1bec325ee85192eba57673750b9e4a77a1a970c8 (patch) | |
tree | 31fa472c3a26021031d52633317fca322767fd93 /conf/system/afm-user-session@.service | |
parent | db8968de9b88e75828475c1e26b657af21b75beb (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@.service | 7 |
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 |