diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-11-24 09:33:43 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-11-24 17:44:58 +0100 |
commit | db8968de9b88e75828475c1e26b657af21b75beb (patch) | |
tree | 0756b5f4e7864bce374210e7c0aa69b44a3fc827 /conf/system/afm-user-session@.service | |
parent | 37888ab2c20b493a2c4b5d21c498509cfdf7ac7b (diff) |
Improve afm-user-session setup
Change-Id: I4dfb0939afc871e93874cf021548db2e85d3656c
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 | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/conf/system/afm-user-session@.service b/conf/system/afm-user-session@.service index 83ae24f..fae3e46 100644 --- a/conf/system/afm-user-session@.service +++ b/conf/system/afm-user-session@.service @@ -1,15 +1,11 @@ [Unit] Description=Initiate afm-user-session %i +Requires=systemd-user-sessions.service After=systemd-user-sessions.service -Wants=afm-user-setup@%i.service -Before=afm-user-setup@%i.service -Wants=afm-user-session@%i.target +Requires=afm-user-session@%i.target Before=afm-user-session@%i.target [Service] PAMName=afm-user-session User=%i Type=simple -ExecStartPre=/bin/echo START afm-user-session@%i ExecStart=/bin/sleep 2147483648 -ExecStop=/bin/echo STOP afm-user-session@%i -RemainAfterExit=yes |