daandemeyer / rpms / systemd

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