summaryrefslogtreecommitdiffstats
path: root/conf/system/afm-user-session@.service.in
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-05-15 17:17:41 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2019-05-23 16:08:16 +0200
commit405ba312a11f4217e5a8742169b010e2c747a4e0 (patch)
treee6ea4b2f75bfbba69b68ffc532d27f582e172c1e /conf/system/afm-user-session@.service.in
parentefabde7b7be19fbd35c886ad3dfd3431a24c5478 (diff)
afm-user-session: moves in libexec directory
Having the binary 'afm-user-session' in /usr/bin brings nothing. It is better to keep it in private area. Bug-AGL: SPEC-2367 Change-Id: I8ef517f599c02e18d8987278a6652a065ee6f0b6 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/system/afm-user-session@.service.in')
-rw-r--r--conf/system/afm-user-session@.service.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/conf/system/afm-user-session@.service.in b/conf/system/afm-user-session@.service.in
new file mode 100644
index 0000000..aa214c6
--- /dev/null
+++ b/conf/system/afm-user-session@.service.in
@@ -0,0 +1,8 @@
+[Unit]
+Description=Initiate afm-user-session %i
+Requires=systemd-user-sessions.service
+After=systemd-user-sessions.service
+[Service]
+User=%i
+PAMName=afm-user-session
+ExecStart=@afm_libexecdir@/afm-user-session