]>
Commit | Line | Data |
---|---|---|
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 | 9 | Description=User Manager for %I |
d42d27ea LP |
10 | After=systemd-user-sessions.service |
11 | ||
12 | [Service] | |
13 | User=%I | |
14 | PAMName=systemd-shared | |
3abcb6ac | 15 | # in order to allow MEM_CG features to work, add "memory:/" here |
a34cb32e | 16 | ControlGroup=%R/user/%U.user/shared cpu:/ |
d42d27ea LP |
17 | ControlGroupModify=yes |
18 | Type=notify | |
e0d25329 | 19 | ExecStart=-@rootlibexecdir@/systemd --user |
3abcb6ac AK |
20 | Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/dbus/user_bus_socket |
21 | ||
22 | [Install] | |
23 | Alias=user@%i.service |