units: use KillMode=mixed for systemd-nspawn@.service
This causes the container to shut down cleanly when the service is stopped.
This commit is contained in:
parent
8d2a614533
commit
d8e40d62ab
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue