X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=units%2Fsystemd-nspawn%40.service.in;h=574d0deafa204af47f15b335ea0e12e5a653c79b;hb=edc501d4674dadc304d45a7e1c5b69e207eb8cd4;hp=c0d5886f8855c4e5557cab8e32c35c2e3e9c5ea0;hpb=05947befcec9afb83b9ce48d613ff372c63e2ed1;p=elogind.git 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