]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/user@.service.in
gitignore: Add test-journal-interleaving
[thirdparty/systemd.git] / units / user@.service.in
CommitLineData
d42d27ea
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
4# under the terms of the GNU Lesser General Public License as published by
5# the Free Software Foundation; either version 2.1 of the License, or
d42d27ea
LP
6# (at your option) any later version.
7
8[Unit]
9541fe6a 9Description=User Manager for %I
d42d27ea
LP
10After=systemd-user-sessions.service
11
12[Service]
13User=%I
14PAMName=systemd-shared
3abcb6ac 15# in order to allow MEM_CG features to work, add "memory:/" here
a34cb32e 16ControlGroup=%R/user/%U.user/shared cpu:/
d42d27ea
LP
17ControlGroupModify=yes
18Type=notify
e0d25329 19ExecStart=-@rootlibexecdir@/systemd --user
3abcb6ac
AK
20Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/dbus/user_bus_socket
21
22[Install]
23Alias=user@%i.service