summaryrefslogtreecommitdiffstats
path: root/conf/system/afm-user-setup@.service.in
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-06-06 12:11:14 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2019-06-14 11:17:53 +0200
commit533d5a1a51a07f2f92e508d113cb49d373e1bad8 (patch)
treeebfaa7db1f265b5c62e36fb0094cd34903d6dfe8 /conf/system/afm-user-setup@.service.in
parent77bd42075de481ae89f6a5b2bc8a79bf967d95cd (diff)
Fix synchronisation of user setup
The user setup takes care of populating correctly the directory /run/user/UID with needed items BEFORE user services start. Bug-AGL: SPEC-1015 Change-Id: I6f942d73bf241d593c960dbf3bc6a038f1746fe0 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/system/afm-user-setup@.service.in')
-rw-r--r--conf/system/afm-user-setup@.service.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/system/afm-user-setup@.service.in b/conf/system/afm-user-setup@.service.in
index 86c0422..c1e4f1e 100644
--- a/conf/system/afm-user-setup@.service.in
+++ b/conf/system/afm-user-setup@.service.in
@@ -1,6 +1,7 @@
[Unit]
Description=Initiate afm-user-setup %i
-After=user@%i.service
+After=user-runtime-dir@%i.service
+Before=user@%i.service
[Service]
Type=oneshot
StartLimitInterval=0