mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
27 lines
798 B
Diff
27 lines
798 B
Diff
|
From d8e40d62ab871a87fde421c4b246bb45bc3cbe2d Mon Sep 17 00:00:00 2001
|
||
|
From: Jonathan Liu <net147@gmail.com>
|
||
|
Date: Thu, 29 May 2014 01:17:25 +1000
|
||
|
Subject: [PATCH] units: use KillMode=mixed for systemd-nspawn@.service
|
||
|
|
||
|
This causes the container to shut down cleanly when the service is
|
||
|
stopped.
|
||
|
---
|
||
|
units/systemd-nspawn@.service.in | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/units/systemd-nspawn@.service.in b/units/systemd-nspawn@.service.in
|
||
|
index ff36e90..e373628 100644
|
||
|
--- a/units/systemd-nspawn@.service.in
|
||
|
+++ b/units/systemd-nspawn@.service.in
|
||
|
@@ -11,6 +11,7 @@ Documentation=man:systemd-nspawn(1)
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=@bindir@/systemd-nspawn --quiet --keep-unit --boot --link-journal=guest --directory=/var/lib/container/%i
|
||
|
+KillMode=mixed
|
||
|
Type=notify
|
||
|
|
||
|
[Install]
|
||
|
--
|
||
|
1.9.3
|
||
|
|