summaryrefslogtreecommitdiffstats
path: root/conf/system/afm-system-setup.service
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-02-27 19:15:28 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2018-02-28 20:08:53 +0100
commitb5c4862abfe8d72efa094ee498c50a7af8a2830b (patch)
tree438fbe36fd89dc224e4dad7a1d1ce26930dcfeeb /conf/system/afm-system-setup.service
parent63c180a63657bc7dd55bab423ea0c2751c87310b (diff)
afm-user-session: Start target from user session
Start the afm-user-session@%i.target from the user session after pam_sytemd session started. Change-Id: I5aeb8f01426b3cee2cbfad6ba30ecf37fe21abca Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/system/afm-system-setup.service')
-rw-r--r--conf/system/afm-system-setup.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/conf/system/afm-system-setup.service b/conf/system/afm-system-setup.service
new file mode 100644
index 0000000..260975c
--- /dev/null
+++ b/conf/system/afm-system-setup.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Initiate afm-system-setup
+Before=weston.service
+[Service]
+Type=one-shot
+ExecStart=-/bin/sh -c "/bin/mkdir -m 755 -Z '*' /run/platform"
+ExecStart=-/bin/sh -c "/bin/mkdir -m 755 -Z '*' /run/platform/display"
+ExecStart=-/bin/sh -c "/bin/mkdir -m 755 -Z '*' /run/platform/apis"
+ExecStart=-/bin/sh -c "/bin/mkdir -m 755 -Z '*' /run/platform/apis/ws"