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=8e00736498a2485cdce6ad338def44c82f28d610;hpb=9cb74bcb23dde8488459ca233bf9caee642b8402;p=elogind.git diff --git a/units/systemd-nspawn@.service.in b/units/systemd-nspawn@.service.in index 8e0073649..e3eaa5323 100644 --- a/units/systemd-nspawn@.service.in +++ b/units/systemd-nspawn@.service.in @@ -10,8 +10,12 @@ Description=Container %i Documentation=man:systemd-nspawn(1) [Service] -ExecStart=@bindir@/systemd-nspawn -bjD /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