1 # This file is part of systemd.
3 # systemd is free software; you can redistribute it and/or modify it
4 # under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
9 Description=User Manager for %u
10 After=systemd-user-sessions.service dbus.service
11 # This is needed for folks running Xorg on vt/1
12 Conflicts=getty@tty1.service
17 # Note memory:/ required kernel memory CGroups support
18 ControlGroup=%R/user/%u/shared cpu:/ memory:/
19 ControlGroupModify=yes
23 ExecStart=-@SYSTEMDUTILDIR@/systemd --user
24 Environment=DISPLAY=:0
25 Environment=XDG_RUNTIME_DIR=/run/user/%U
26 Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/dbus/user_bus_socket
29 Alias=user-session@%i.service