summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-08-03 10:45:31 +0200
committerLennart Poettering <lennart@poettering.net>2018-08-03 10:45:31 +0200
commit1193c11a04b3ecc29925904fbeb5d64834bce73e (patch)
tree93373c082d1cef96b7d6e600936781e3f7dd2bb4 /units
parenteb748aef4fbfd03b64938aa471bb8ceda1bc89a8 (diff)
downloadsystemd-1193c11a04b3ecc29925904fbeb5d64834bce73e.tar.gz
units: assign user-runtime-dir@.service to user-%i.slice
This service won't use much resources, but it's certainly nicer to see it attached th the user's slice along with user@.service, so that everything we run for a specific user is properly bound into one unit.
Diffstat (limited to 'units')
-rw-r--r--units/user-runtime-dir@.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/user-runtime-dir@.service.in b/units/user-runtime-dir@.service.in
index a187bb2839..434413525e 100644
--- a/units/user-runtime-dir@.service.in
+++ b/units/user-runtime-dir@.service.in
@@ -18,3 +18,4 @@ ExecStart=@rootlibexecdir@/systemd-user-runtime-dir start %i
ExecStop=@rootlibexecdir@/systemd-user-runtime-dir stop %i
Type=oneshot
RemainAfterExit=true
+Slice=user-%i.slice