summaryrefslogtreecommitdiff
path: root/units/user@.service.in
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-01-06 08:00:16 +0400
committerKay Sievers <kay@vrfy.org>2014-01-08 18:11:37 +0800
commit8b255ecd99dfee4e27b40a075b15d1e117f819fa (patch)
tree29e06155680211970985f3b760806edd3acecf68 /units/user@.service.in
parentbc6422cbd1dfc258fb2b4909a2a25ad356e63400 (diff)
pam_systemd: export DBUS_SESSION_BUS_ADDRESS
Diffstat (limited to 'units/user@.service.in')
-rw-r--r--units/user@.service.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/units/user@.service.in b/units/user@.service.in
new file mode 100644
index 0000000000..c2d495f53f
--- /dev/null
+++ b/units/user@.service.in
@@ -0,0 +1,17 @@
+# 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 %i
+After=systemd-user-sessions.service
+
+[Service]
+User=%i
+PAMName=systemd-user
+Type=notify
+ExecStart=-@rootlibexecdir@/systemd --user
+Slice=user-%i.slice