diff --git a/root/check-one-shot.sh b/root/check-one-shot.sh index 1808062..1afe99e 100644 --- a/root/check-one-shot.sh +++ b/root/check-one-shot.sh @@ -4,6 +4,7 @@ if [ $ONE_SHOT == "true" ]; then # Cleanly kill container by sending kill signal to supervisor process - kill 1 + echo 0 > /run/s6-linux-init-container-results/exitcode + /run/s6/basedir/bin/halt fi \ No newline at end of file