summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-07-01 22:36:15 +0200
committerLennart Poettering <lennart@poettering.net>2011-07-01 22:36:15 +0200
commitbde7f9072109aaf298fe35de59a61b1eb026bf51 (patch)
tree8201c57c5a375e7ec7f77a36e6ad4d0f2c9ea6d8
parenteeecf6e607740337599dfb9878dbef843b0f39c3 (diff)
logind: temporarily hack right user bus address into unit file
-rw-r--r--units/user@.service.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/units/user@.service.in b/units/user@.service.in
index d692c8ece8..59fe5242d6 100644
--- a/units/user@.service.in
+++ b/units/user@.service.in
@@ -12,7 +12,8 @@ After=systemd-user-sessions.service
[Service]
User=%I
PAMName=systemd-shared
-ControlGroup=/user/%I/shared
+ControlGroup=%R/user/%I/shared cpu:/
ControlGroupModify=yes
Type=notify
ExecStart=-@rootbindir@/systemd --user
+Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%I/dbus/user_bus_socket