docker-images/pluie/alpine-apache/pre-init.d/10-apache.sh

11 lines
256 B
Bash
Raw Normal View History

2016-07-25 02:54:40 +00:00
#!/usr/bin/bash
# pluie/docker-images - a-Sansara (https://github.com/a-sansara)
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 &