chiark / gitweb /
build-sys: work around automake issue with files with a leading '-'
[elogind.git] / units / user@.service.in
index 2c15495..d2d24f1 100644 (file)
@@ -12,8 +12,10 @@ After=systemd-user-sessions.service
 [Service]
 User=%I
 PAMName=systemd-shared
-ControlGroup=%R/user/%I/shared cpu:/
-ControlGroupModify=yes
 Type=notify
 ExecStart=-@rootlibexecdir@/systemd --user
 Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%I/dbus/user_bus_socket
+Slice=user-%i.slice
+
+[Install]
+Alias=user@%i.service