mirror of
https://github.com/systemd/systemd
synced 2024-10-15 20:45:09 +00:00
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.
This commit is contained in:
parent
eb748aef4f
commit
1193c11a04
|
@ -18,3 +18,4 @@ ExecStart=@rootlibexecdir@/systemd-user-runtime-dir start %i
|
||||||
ExecStop=@rootlibexecdir@/systemd-user-runtime-dir stop %i
|
ExecStop=@rootlibexecdir@/systemd-user-runtime-dir stop %i
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
|
Slice=user-%i.slice
|
||||||
|
|
Loading…
Reference in a new issue