summaryrefslogtreecommitdiffstats
path: root/meta-agl/recipes-config/agl-login-manager/files/agl-user-session@.service
diff options
context:
space:
mode:
authorChanghyeok Bae <changhyeok.bae@gmail.com>2017-05-31 07:11:31 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-06-02 00:57:36 +0000
commit0ea9f9fd830ec1e9a5bc776cac7a9cab7c452a24 (patch)
tree19453d2e0e0ff7f3c71fda908f5aaf7e07570ac2 /meta-agl/recipes-config/agl-login-manager/files/agl-user-session@.service
parent5a63eef23be9adb662a4dac8f13f7d64fd4ef673 (diff)
agl-login-manager,agl-desktop-config: Move layer to meta-agl
agl-ivi-image is using agl-login-manager and agl-desktop-config. However, those aren't included in meta-agl layer. So agl-ivi-image isn't built only with meta-agl layer. Bug-AGL: SPEC-625 Change-Id: Ied4bbec9c72d2f7cac5b01c2465fe395c2e5497c Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9587 Reviewed-by: Martin Kelly <mkelly@xevo.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Diffstat (limited to 'meta-agl/recipes-config/agl-login-manager/files/agl-user-session@.service')
-rw-r--r--meta-agl/recipes-config/agl-login-manager/files/agl-user-session@.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-agl/recipes-config/agl-login-manager/files/agl-user-session@.service b/meta-agl/recipes-config/agl-login-manager/files/agl-user-session@.service
new file mode 100644
index 000000000..b128a40c8
--- /dev/null
+++ b/meta-agl/recipes-config/agl-login-manager/files/agl-user-session@.service
@@ -0,0 +1,18 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=User Manager for UID %i
+After=systemd-user-sessions.service
+
+[Service]
+User=%i
+PAMName=agl-user-session
+ExecStart=-/bin/sleep 2147483648
+KillMode=mixed
+Delegate=yes
+TasksMax=infinity