chiark / gitweb /
units: update user@.service to reflect new user cgroup paths
[elogind.git] / units / user@.service.in
index 901a334ef64f7e6afe2ea5b22f914aab6a839d02..3cf1347b16c95a1b777222d043d05eb438c2add2 100644 (file)
@@ -13,7 +13,7 @@ After=systemd-user-sessions.service
 User=%I
 PAMName=systemd-shared
 # in order to allow MEM_CG features to work, add "memory:/" here
-ControlGroup=%R/user/%u/shared cpu:/
+ControlGroup=%R/user/%U.user/shared cpu:/
 ControlGroupModify=yes
 Type=notify
 ExecStart=-@rootlibexecdir@/systemd --user