X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fsystemd-nspawn%40.service.in;h=e3eaa53239df2802019e9c01ded87af5c5455cc2;hb=adb76a701d870b980f7949bcfece2c1547b4976d;hp=e37362847a3ae793cb7382ea14569b4996f4b0ef;hpb=d8e40d62ab871a87fde421c4b246bb45bc3cbe2d;p=elogind.git diff --git a/units/systemd-nspawn@.service.in b/units/systemd-nspawn@.service.in index e37362847..e3eaa5323 100644 --- a/units/systemd-nspawn@.service.in +++ b/units/systemd-nspawn@.service.in @@ -10,9 +10,12 @@ Description=Container %i Documentation=man:systemd-nspawn(1) [Service] -ExecStart=@bindir@/systemd-nspawn --quiet --keep-unit --boot --link-journal=guest --directory=/var/lib/container/%i +ExecStart=@bindir@/systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --directory=/var/lib/container/%i KillMode=mixed Type=notify +RestartForceExitStatus=133 +SuccessExitStatus=133 +Delegate=yes [Install] WantedBy=multi-user.target