Change to documented method for killing a container

This commit is contained in:
MrMeeb 2024-06-15 15:39:09 +00:00
parent 2962b45496
commit 9ed7d80765
Signed by: MrMeeb
GPG Key ID: 3864A01CC606E310

View File

@ -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