chiark / gitweb /
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 d692c8e..59fe524 100644 (file)
@@ -12,7 +12,8 @@ After=systemd-user-sessions.service
 [Service]
 User=%I
 PAMName=systemd-shared
 [Service]
 User=%I
 PAMName=systemd-shared
-ControlGroup=/user/%I/shared
+ControlGroup=%R/user/%I/shared cpu:/
 ControlGroupModify=yes
 Type=notify
 ExecStart=-@rootbindir@/systemd --user
 ControlGroupModify=yes
 Type=notify
 ExecStart=-@rootbindir@/systemd --user
+Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%I/dbus/user_bus_socket