add set -e and use exec to replace parent process to handle docker signals #6
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "feature/improve_docker_entrypoint.sh"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
use
exec
to turn httpd into parent process. This is important for docker signalling such asdocker stop ${container_id}
add
set -e
which stops the entrypoint script if any command exits with a non-zero exit code.