]> err.no Git - systemd/commitdiff
logind: temporarily hack right user bus address into unit file
authorLennart Poettering <lennart@poettering.net>
Fri, 1 Jul 2011 20:36:15 +0000 (22:36 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 1 Jul 2011 20:36:15 +0000 (22:36 +0200)
units/user@.service.in

index d692c8ece8f51bb71f8af7dc1258a8b36b1f6b31..59fe5242d6a77a1956c090ed52aa0d305511de92 100644 (file)
@@ -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