]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/user@.service.in
core: split system/user job timeouts and make them configurable
[thirdparty/systemd.git] / units / user@.service.in
CommitLineData
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 11Description=User Manager for UID %i
a99655b0 12Documentation=man:user@.service(5)
278e815b 13After=user-runtime-dir@%i.service dbus.service
a9f0f5e5 14Requires=user-runtime-dir@%i.service
8c1f0435 15IgnoreOnIsolate=yes
d42d27ea
LP
16
17[Service]
8b255ecd 18User=%i
5c390a4a 19PAMName=systemd-user
dd0ab174 20Type=notify-reload
059cc610 21ExecStart={{ROOTLIBEXECDIR}}/systemd --user
fb6becb4 22Slice=user-%i.slice
58ea275a 23KillMode=mixed
b8df7f86 24Delegate=pids memory cpu
8c277ddd 25TasksMax=infinity
e4c7b5f5 26TimeoutStopSec={{ DEFAULT_USER_TIMEOUT_SEC*4//3 }}s
928df2c2 27KeyringMode=inherit
ce7de0ba 28OOMScoreAdjust=100