summaryrefslogtreecommitdiff
path: root/packaging/user-session@.service
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/user-session@.service')
-rw-r--r--packaging/user-session@.service22
1 files changed, 22 insertions, 0 deletions
diff --git a/packaging/user-session@.service b/packaging/user-session@.service
new file mode 100644
index 0000000..7a9f58e
--- /dev/null
+++ b/packaging/user-session@.service
@@ -0,0 +1,22 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=User Manager for %I
+After=systemd-user-sessions.service
+
+[Service]
+User=%I
+PAMName=systemd-user-session
+ControlGroup=%R/user/%I/shared cpu:/
+ControlGroupModify=yes
+Type=notify
+ExecStart=-/usr/lib/systemd/systemd --user
+Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%I/dbus/user_bus_socket
+Environment=DISPLAY=:0
+Environment=XDG_RUNTIME_DIR=/run/user/%I
+EnvironmentFile=/etc/sysconfig/tizen-mobile-ui