docker-images/pluie/alpine-apache/pre-init.d/10-apache.sh
2016-08-06 02:29:06 +02:00

12 lines
287 B
Bash
Executable File

#!/usr/bin/bash
# @app pluie/alpine-apache
# @author a-Sansara https://git.pluie.org/pluie/docker-images
if [ ! -z "$FIX_OWNERSHIP" ] && [ "$FIX_OWNERSHIP" -eq 1 ]; then
chown -R 1000:apache /app/www
fi
touch /var/log/apache2/error.log
tail -F /var/log/apache2/error.log &