Files
docker-django-test/container-filesystem/docker-entrypoint.sh
2019-04-14 00:43:17 +02:00

11 lines
217 B
Bash
Executable File

#!/bin/sh
# Remove left-overs from an incomplete shutdown previously.
rm -rf /run/httpd/* /tmp/httpd*
exec /usr/sbin/httpd \
-DFOREGROUND \
-c "LogLevel ${LOG_LEVEL:-error}" \
-c "ServerName ${HOSTNAME}" \
"$@"