valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone
923a60
From 68932296f01cd3eee3ee47f3e8f339f33c18b95d Mon Sep 17 00:00:00 2001
923a60
From: Lennart Poettering <lennart@poettering.net>
923a60
Date: Tue, 19 May 2015 19:47:52 +0200
923a60
Subject: [PATCH] units: make sure systemd-nspawn@.slice instances are actually
923a60
 located in machine.slice
923a60
923a60
https://plus.google.com/112206451048767236518/posts/SYAueyXHeEX
923a60
(cherry picked from commit 45d383a3b888195b01b58dbd2c46a11027ff5022)
923a60
923a60
Cherry-picked from: 45d383a
923a60
Resolves: #1222517
923a60
---
923a60
 units/systemd-nspawn@.service.in | 1 +
923a60
 1 file changed, 1 insertion(+)
923a60
923a60
diff --git a/units/systemd-nspawn@.service.in b/units/systemd-nspawn@.service.in
923a60
index 3e26b53fd6..5e86121130 100644
923a60
--- a/units/systemd-nspawn@.service.in
923a60
+++ b/units/systemd-nspawn@.service.in
923a60
@@ -17,6 +17,7 @@ KillMode=mixed
923a60
 Type=notify
923a60
 RestartForceExitStatus=133
923a60
 SuccessExitStatus=133
923a60
+Slice=machine.slice
923a60
 Delegate=yes
923a60
 
923a60
 [Install]