Commit 8c62f434 authored by Alex W's avatar Alex W Committed by GitHub

Remove apache2.pid file on re-run

parent 98187573
...@@ -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