#!/bin/bash # XXX container is not admin interface we do not need apache do not launch it. set -e if [ -f "/etc/container_environment.sh" ]; then source /etc/container_environment.sh; fi; mkdir -p /var/log/apache2 chgrp www-data /var/log/apache2 chmod g+rwx /var/log/apache2 exec /usr/sbin/apache2ctl -D FOREGROUND echo "Apache configuration complete."