myos/docker/http/alpine/docker-entrypoint.sh
Yann Autissier 44a6d37ba5 import files
2021-02-09 18:08:58 +01:00

10 lines
153 B
Bash
Executable File

#!/bin/sh
set -euo pipefail
set -o errexit
trap 'kill -SIGQUIT $PID' INT
# Launch httpd
[ $# -eq 0 ] && httpd-foreground || exec "$@" &
PID=$! && wait