From: Lennart Poettering Date: Fri, 3 Aug 2018 08:45:31 +0000 (+0200) Subject: units: assign user-runtime-dir@.service to user-%i.slice X-Git-Tag: v240~865^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9791%2Fhead;p=thirdparty%2Fsystemd.git 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. --- diff --git a/units/user-runtime-dir@.service.in b/units/user-runtime-dir@.service.in index a187bb28397..434413525eb 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