Commit fcf91937 authored by Alexander Schenkel's avatar Alexander Schenkel Committed by GitHub

Merge pull request #1 from awerffeli/master

Remove apache2.pid file on re-run
parents 98187573 8c62f434
...@@ -9,4 +9,7 @@ sed -ri "s/^error_reporting\s*=.*$//g" /etc/php5/cli/php.ini ...@@ -9,4 +9,7 @@ sed -ri "s/^error_reporting\s*=.*$//g" /etc/php5/cli/php.ini
echo "error_reporting = $PHP_ERROR_REPORTING" >> /etc/php5/apache2/php.ini echo "error_reporting = $PHP_ERROR_REPORTING" >> /etc/php5/apache2/php.ini
echo "error_reporting = $PHP_ERROR_REPORTING" >> /etc/php5/cli/php.ini echo "error_reporting = $PHP_ERROR_REPORTING" >> /etc/php5/cli/php.ini
# Apache gets grumpy about PID files pre-existing
rm -f /var/run/apache2/apache2.pid
source /etc/apache2/envvars && exec /usr/sbin/apache2 -DFOREGROUND source /etc/apache2/envvars && exec /usr/sbin/apache2 -DFOREGROUND
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment