diff --git a/apache2-foreground b/apache2-foreground new file mode 100644 index 0000000..34540e8 --- /dev/null +++ b/apache2-foreground @@ -0,0 +1,7 @@ +#!/bin/bash +set -e + +# Apache gets grumpy about PID files pre-existing +rm -f /var/run/apache2/apache2.pid + +exec apache2ctl -DFOREGROUND "$@"