chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d2a614
)
units: use KillMode=mixed for systemd-nspawn@.service
author
Jonathan Liu
<net147@gmail.com>
Wed, 28 May 2014 15:17:25 +0000
(
01:17
+1000)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Fri, 30 May 2014 13:36:29 +0000
(09:36 -0400)
This causes the container to shut down cleanly when the service is
stopped.
units/systemd-nspawn@.service.in
patch
|
blob
|
history
diff --git
a/units/systemd-nspawn@.service.in
b/units/systemd-nspawn@.service.in
index ff36e901f030cb5caea14aa6180138593ad02cd2..e37362847a3ae793cb7382ea14569b4996f4b0ef 100644
(file)
--- 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]