]>
Commit | Line | Data |
---|---|---|
db9ecf05 | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
a7df2d1e | 2 | # |
d42d27ea LP |
3 | # This file is part of systemd. |
4 | # | |
5 | # systemd is free software; you can redistribute it and/or modify it | |
5430f7f2 LP |
6 | # under the terms of the GNU Lesser General Public License as published by |
7 | # the Free Software Foundation; either version 2.1 of the License, or | |
d42d27ea LP |
8 | # (at your option) any later version. |
9 | ||
10 | [Unit] | |
d8160f21 | 11 | Description=User Manager for UID %i |
a99655b0 | 12 | Documentation=man:user@.service(5) |
278e815b | 13 | After=user-runtime-dir@%i.service dbus.service |
a9f0f5e5 | 14 | Requires=user-runtime-dir@%i.service |
8c1f0435 | 15 | IgnoreOnIsolate=yes |
d42d27ea LP |
16 | |
17 | [Service] | |
8b255ecd | 18 | User=%i |
5c390a4a | 19 | PAMName=systemd-user |
dd0ab174 | 20 | Type=notify-reload |
059cc610 | 21 | ExecStart={{ROOTLIBEXECDIR}}/systemd --user |
fb6becb4 | 22 | Slice=user-%i.slice |
58ea275a | 23 | KillMode=mixed |
b8df7f86 | 24 | Delegate=pids memory cpu |
8c277ddd | 25 | TasksMax=infinity |
e4c7b5f5 | 26 | TimeoutStopSec={{ DEFAULT_USER_TIMEOUT_SEC*4//3 }}s |
928df2c2 | 27 | KeyringMode=inherit |
ce7de0ba | 28 | OOMScoreAdjust=100 |