]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: set StopWhenUnneeded= for the user slice units too
authorLennart Poettering <lennart@poettering.net>
Fri, 3 Aug 2018 18:19:38 +0000 (20:19 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 13 Oct 2018 10:59:29 +0000 (12:59 +0200)
We'd like them to go away, just like the user-runtime-dir@.service when
they aren't needed anymore.

units/user-.slice.d/10-defaults.conf

index f1d118562c7a354dcd6292d3f2113fd7afee507f..c81a00e0502fc82e4eff1876d8a06be99933420c 100644 (file)
@@ -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%