From 1193c11a04b3ecc29925904fbeb5d64834bce73e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 3 Aug 2018 10:45:31 +0200 Subject: [PATCH] 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. --- units/user-runtime-dir@.service.in | 1 + 1 file changed, 1 insertion(+) 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