summaryrefslogtreecommitdiffstats
path: root/core/modules/systemd/data/usr/lib/systemd/system/user@.service
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/systemd/data/usr/lib/systemd/system/user@.service')
-rw-r--r--core/modules/systemd/data/usr/lib/systemd/system/user@.service18
1 files changed, 8 insertions, 10 deletions
diff --git a/core/modules/systemd/data/usr/lib/systemd/system/user@.service b/core/modules/systemd/data/usr/lib/systemd/system/user@.service
index 876c28c9..9966ae33 100644
--- a/core/modules/systemd/data/usr/lib/systemd/system/user@.service
+++ b/core/modules/systemd/data/usr/lib/systemd/system/user@.service
@@ -6,18 +6,16 @@
# (at your option) any later version.
[Unit]
-Description=User Manager for %u
+Description=User Manager for UID %i
After=systemd-user-sessions.service
[Service]
-User=%I
-PAMName=systemd-shared
-# in order to allow MEM_CG features to work, add "memory:/" here
-ControlGroup=%R/user/%U.user/shared cpu:/
-ControlGroupModify=yes
+User=%i
+PAMName=systemd-user
Type=notify
ExecStart=-/usr/lib/systemd/systemd --user
-Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/dbus/user_bus_socket
-
-[Install]
-Alias=user@%i.service
+Slice=user-%i.slice
+KillMode=mixed
+Delegate=yes
+TasksMax=infinity
+TimeoutStopSec=120s