summaryrefslogtreecommitdiff
path: root/units/user@.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'units/user@.service.in')
-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