X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fuser%40.service.in;h=3f8b59d07fee6abb87e5af861ab8fa9446eb4564;hp=901a334ef64f7e6afe2ea5b22f914aab6a839d02;hb=d420282b28f50720e233ccb1c02547c562195653;hpb=3abcb6acedb588ca17f6374c1836f8a58396e520 diff --git a/units/user@.service.in b/units/user@.service.in index 901a334ef..3f8b59d07 100644 --- a/units/user@.service.in +++ b/units/user@.service.in @@ -6,18 +6,13 @@ # (at your option) any later version. [Unit] -Description=User Manager for %u +Description=User Manager for %I 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/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