mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
units: set StopWhenUnneeded= for the user slice units too
We'd like them to go away, just like the user-runtime-dir@.service when they aren't needed anymore.
This commit is contained in:
parent
4417640013
commit
1007473b49
@ -11,6 +11,7 @@
|
|||||||
Description=User Slice of UID %j
|
Description=User Slice of UID %j
|
||||||
Documentation=man:user@.service(5)
|
Documentation=man:user@.service(5)
|
||||||
After=systemd-user-sessions.service
|
After=systemd-user-sessions.service
|
||||||
|
StopWhenUnneeded=yes
|
||||||
|
|
||||||
[Slice]
|
[Slice]
|
||||||
TasksMax=33%
|
TasksMax=33%
|
||||||
|
Loading…
Reference in New Issue
Block a user