X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-nspawn%40.service.in;h=574d0deafa204af47f15b335ea0e12e5a653c79b;hp=c0d5886f8855c4e5557cab8e32c35c2e3e9c5ea0;hb=fa8b8030a476f1a4fd8c0f00423351788d36bd3a;hpb=05947befcec9afb83b9ce48d613ff372c63e2ed1 diff --git a/units/systemd-nspawn@.service.in b/units/systemd-nspawn@.service.in index c0d5886f8..574d0deaf 100644 --- a/units/systemd-nspawn@.service.in +++ b/units/systemd-nspawn@.service.in @@ -10,9 +10,11 @@ Description=Container %i Documentation=man:systemd-nspawn(1) [Service] -ExecStart=@bindir@/systemd-nspawn -bjD /var/lib/container/%i -ControlGroup=%R/machine/%i.nspawn cpu:/ +ExecStart=@bindir@/systemd-nspawn --quiet --keep-unit --boot --link-journal=guest --directory=/var/lib/container/%i +KillMode=mixed Type=notify +RestartForceExitStatus=133 +SuccessExitStatus=133 [Install] -Also=multi-user.target +WantedBy=multi-user.target