chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
systemctl: fix name mangling for sysv units
[elogind.git]
/
units
/
user@.service.in
diff --git
a/units/user@.service.in
b/units/user@.service.in
index ece671d4485f71be6e120bb6f897075ec84fe9a8..3718a57087c457000d0f7c1b0c56bd9c1799f740 100644
(file)
--- a/
units/user@.service.in
+++ b/
units/user@.service.in
@@
-11,13
+11,9
@@
After=systemd-user-sessions.service
[Service]
User=%I
[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
Type=notify
+Environment=SHELL=%s
ExecStart=-@rootlibexecdir@/systemd --user
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