mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 10:13:34 +08: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
|
||||
Type=oneshot
|
||||
RemainAfterExit=true
|
||||
Slice=user-%i.slice
|
||||
|
Loading…
Reference in New Issue
Block a user