udev: String substitutions can be done in ENV, too
[systemd_ALT.git] / units / user@.service.in
blob86ab4ffcc6dfa9be6727c3ecbfae55e29054b9cc
1 #  SPDX-License-Identifier: LGPL-2.1-or-later
3 #  This file is part of systemd.
5 #  systemd is free software; you can redistribute it and/or modify it
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
8 #  (at your option) any later version.
10 [Unit]
11 Description=User Manager for UID %i
12 Documentation=man:user@.service(5)
13 After=user-runtime-dir@%i.service dbus.service systemd-oomd.service
14 Requires=user-runtime-dir@%i.service
15 IgnoreOnIsolate=yes
17 [Service]
18 User=%i
19 PAMName=systemd-user
20 Type=notify-reload
21 ExecStart={{ROOTLIBEXECDIR}}/systemd --user
22 Slice=user-%i.slice
23 KillMode=mixed
24 Delegate=pids memory cpu
25 DelegateSubgroup=init.scope
26 TasksMax=infinity
27 TimeoutStopSec={{ DEFAULT_USER_TIMEOUT_SEC*4//3 }}s
28 KeyringMode=inherit
29 OOMScoreAdjust=100
30 MemoryPressureWatch=skip