diff options
author | 2018-08-03 20:19:38 +0200 | |
---|---|---|
committer | 2018-10-13 12:59:29 +0200 | |
commit | 1007473b49b5aaeef0e53cd4a15f4ed8cf721926 (patch) | |
tree | 699409cf8701b7dbfb1c6f5e7111d2f44efa555c /units | |
parent | logind: turn of stdio locking when writing session files too (diff) | |
download | systemd-1007473b49b5aaeef0e53cd4a15f4ed8cf721926.tar.gz systemd-1007473b49b5aaeef0e53cd4a15f4ed8cf721926.tar.bz2 systemd-1007473b49b5aaeef0e53cd4a15f4ed8cf721926.zip |
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.
Diffstat (limited to 'units')
-rw-r--r-- | units/user-.slice.d/10-defaults.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/user-.slice.d/10-defaults.conf b/units/user-.slice.d/10-defaults.conf index f1d118562..c81a00e05 100644 --- a/units/user-.slice.d/10-defaults.conf +++ b/units/user-.slice.d/10-defaults.conf @@ -11,6 +11,7 @@ Description=User Slice of UID %j Documentation=man:user@.service(5) After=systemd-user-sessions.service +StopWhenUnneeded=yes [Slice] TasksMax=33% |