chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
machinectl: add new command to spawn a getty inside a container
[elogind.git]
/
units
/
user@.service.in
diff --git
a/units/user@.service.in
b/units/user@.service.in
index ece671d4485f71be6e120bb6f897075ec84fe9a8..3f8b59d07fee6abb87e5af861ab8fa9446eb4564 100644
(file)
--- a/
units/user@.service.in
+++ b/
units/user@.service.in
@@
-11,13
+11,8
@@
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
ExecStart=-@rootlibexecdir@/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