From: Lennart Poettering Date: Fri, 1 Jul 2011 20:36:15 +0000 (+0200) Subject: logind: temporarily hack right user bus address into unit file X-Git-Tag: v30~74 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bde7f9072109aaf298fe35de59a61b1eb026bf51;p=systemd logind: temporarily hack right user bus address into unit file --- diff --git a/units/user@.service.in b/units/user@.service.in index d692c8ec..59fe5242 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