summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-05-19 19:47:52 +0200
committerLennart Poettering <lennart@poettering.net>2015-05-19 19:49:01 +0200
commit45d383a3b888195b01b58dbd2c46a11027ff5022 (patch)
treeb01b16484adab708c8c7699a667ea2d0884a4b7f
parentaad1976ffa25fa6901f72c300b5980ada0ef44c5 (diff)
units: make sure systemd-nspawn@.slice instances are actually located in machine.slice
https://plus.google.com/112206451048767236518/posts/SYAueyXHeEX
-rw-r--r--units/systemd-nspawn@.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-nspawn@.service.in b/units/systemd-nspawn@.service.in
index 9492c8c0f8..074b916d38 100644
--- a/units/systemd-nspawn@.service.in
+++ b/units/systemd-nspawn@.service.in
@@ -18,6 +18,7 @@ KillMode=mixed
Type=notify
RestartForceExitStatus=133
SuccessExitStatus=133
+Slice=machine.slice
Delegate=yes
# Enforce a strict device policy, similar to the one nspawn configures