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=c2d495f53fedfb8e45ea30e46874821884e0272c;hp=91e3b2515836827750eef478a9c2787d3212f0dc;hb=8b255ecd99dfee4e27b40a075b15d1e117f819fa;hpb=e0d25329b23a43332ea340f9907721873a316f4e diff --git a/units/user@.service.in b/units/user@.service.in index 91e3b2515..c2d495f53 100644 --- a/units/user@.service.in +++ b/units/user@.service.in @@ -1,19 +1,17 @@ # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. [Unit] -Description=User Manager for %I +Description=User Manager for %i After=systemd-user-sessions.service [Service] -User=%I -PAMName=systemd-shared -ControlGroup=%R/user/%I/shared cpu:/ -ControlGroupModify=yes +User=%i +PAMName=systemd-user Type=notify ExecStart=-@rootlibexecdir@/systemd --user -Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%I/dbus/user_bus_socket +Slice=user-%i.slice