Change to documented method for killing a container
This commit is contained in:
parent
2962b45496
commit
9ed7d80765
@ -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
|
Loading…
x
Reference in New Issue
Block a user