aboutsummaryrefslogtreecommitdiff
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
parentunits: order user-runtime-dir@.service after systemd-user-sessions.service (diff)
downloadsystemd-1193c11a04b3ecc29925904fbeb5d64834bce73e.tar.gz
systemd-1193c11a04b3ecc29925904fbeb5d64834bce73e.tar.bz2
systemd-1193c11a04b3ecc29925904fbeb5d64834bce73e.zip
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 a187bb283..434413525 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