]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/user@.service.in
docs: CGROUP_DELEGATION: fix a typo in "that"
[thirdparty/systemd.git] / units / user@.service.in
index 2c154953b18dc74fb1668236d23f29ec283b482c..e898b3978308c03625ab2cd846ca9b73bb14dbd2 100644 (file)
@@ -1,3 +1,5 @@
+#  SPDX-License-Identifier: LGPL-2.1+
+#
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
@@ -6,14 +8,20 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=User Manager for %I
-After=systemd-user-sessions.service
+Description=User Manager for UID %i
+Documentation=man:user@.service(5)
+After=systemd-user-sessions.service user-runtime-dir@%i.service dbus.service
+Requires=user-runtime-dir@%i.service
+IgnoreOnIsolate=yes
 
 [Service]
-User=%I
-PAMName=systemd-shared
-ControlGroup=%R/user/%I/shared cpu:/
-ControlGroupModify=yes
+User=%i
+PAMName=systemd-user
 Type=notify
 ExecStart=-@rootlibexecdir@/systemd --user
-Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%I/dbus/user_bus_socket
+Slice=user-%i.slice
+KillMode=mixed
+Delegate=pids memory
+TasksMax=infinity
+TimeoutStopSec=120s
+KeyringMode=inherit