summaryrefslogtreecommitdiff
path: root/units/user/systemd-exit.service
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-11-11 14:11:02 +0100
committerGitHub <noreply@github.com>2020-11-11 14:11:02 +0100
commit23dce98e89616092007005692a4574ab908db5a6 (patch)
tree829c00842440ba9fb8c42d765b25b341860ba45c /units/user/systemd-exit.service
parentb5e798de20608266b6248367d939a645e4908483 (diff)
parent5ee24fa0a09ded9d842499a251e2e939a1a26b0b (diff)
downloadsystemd-23dce98e89616092007005692a4574ab908db5a6.tar.gz
Merge pull request #16603 from benzea/benzea/special-app-slice
Use app.slice by default in user manager (and define special user slices)
Diffstat (limited to 'units/user/systemd-exit.service')
-rw-r--r--units/user/systemd-exit.service4
1 files changed, 4 insertions, 0 deletions
diff --git a/units/user/systemd-exit.service b/units/user/systemd-exit.service
index 91953e0524..18725253bb 100644
--- a/units/user/systemd-exit.service
+++ b/units/user/systemd-exit.service
@@ -14,3 +14,7 @@ DefaultDependencies=no
Requires=shutdown.target
After=shutdown.target
SuccessAction=exit-force
+
+[Service]
+# Place into the root slice to not keep another slice unit alive
+Slice=-.slice