diff options
author | Jonathan Liu <net147@gmail.com> | 2014-05-29 01:17:25 +1000 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-05-30 09:36:29 -0400 |
commit | d8e40d62ab871a87fde421c4b246bb45bc3cbe2d (patch) | |
tree | 1bf63cf4dcf78864547b4f0823544336a1210ae8 /units | |
parent | 8d2a6145334257c8a9ceabc9dd52dff06cca818e (diff) |
units: use KillMode=mixed for systemd-nspawn@.service
This causes the container to shut down cleanly when the service is
stopped.
Diffstat (limited to 'units')
-rw-r--r-- | units/systemd-nspawn@.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-nspawn@.service.in b/units/systemd-nspawn@.service.in index ff36e901f0..e37362847a 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] |