chiark / gitweb /
core: replace OnFailureIsolate= setting by a more generic OnFailureJobMode= setting...
[elogind.git] / units / user@.service.in
index ece671d4485f71be6e120bb6f897075ec84fe9a8..3f8b59d07fee6abb87e5af861ab8fa9446eb4564 100644 (file)
@@ -11,13 +11,8 @@ After=systemd-user-sessions.service
 
 [Service]
 User=%I
-PAMName=systemd-shared
-# in order to allow MEM_CG features to work, add "memory:/" here
-ControlGroup=%R/user/%U.user/shared cpu:/
-ControlGroupModify=yes
+PAMName=systemd-user
 Type=notify
 ExecStart=-@rootlibexecdir@/systemd --user
-Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/dbus/user_bus_socket
-
-[Install]
-Alias=user@%i.service
+Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%I/dbus/user_bus_socket
+Slice=user-%i.slice