add set -e and use exec to replace parent process to handle docker signals #6

Merged
lolcat merged 1 commits from feature/improve_docker_entrypoint.sh into master 2023-08-24 20:50:06 -05:00
Collaborator

use exec to turn httpd into parent process. This is important for docker signalling such as docker stop ${container_id}
add set -e which stops the entrypoint script if any command exits with a non-zero exit code.

use `exec` to turn httpd into parent process. This is important for docker signalling such as `docker stop ${container_id}` add `set -e` which stops the entrypoint script if any command exits with a non-zero exit code.
throwaway added 1 commit 2023-08-24 19:44:25 -05:00
lolcat merged commit 232995bf0d into master 2023-08-24 20:50:06 -05:00
throwaway deleted branch feature/improve_docker_entrypoint.sh 2023-08-24 20:51:20 -05:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lolcat/4get#6
There is no content yet.