mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
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:
committed by
Zbigniew Jędrzejewski-Szmek
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]
|
||||
|
||||
Reference in New Issue
Block a user