diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-11-23 15:44:24 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-11-24 17:44:58 +0100 |
commit | 7998a472352c0272a90c66ab45c4c2758cd6040a (patch) | |
tree | de3fb484fa2bca0850354f611551b049083d1420 /conf/system/afm-user-setup@.service | |
parent | 633ebe33015554a14b773053188e2faba0faff04 (diff) |
Rework on systemd start of user sessions
Change-Id: Iad46596435eebdc5c521b572fd8320b52a61d197
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/system/afm-user-setup@.service')
-rw-r--r-- | conf/system/afm-user-setup@.service | 14 |
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 + + |