From 9ed7d80765999e78499db4090eeaa608b4c473ae Mon Sep 17 00:00:00 2001 From: MrMeeb Date: Sat, 15 Jun 2024 15:39:09 +0000 Subject: [PATCH] Change to documented method for killing a container --- root/check-one-shot.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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