mirror of
https://github.com/jgeusebroek/docker-spotweb.git
synced 2025-06-06 23:57:26 +02:00
Cleanup Apache PID
This commit is contained in:
parent
2caf9238ff
commit
85c6a38acb
@ -33,6 +33,9 @@ sed -i "s#^;date.timezone =.*#date.timezone = ${TZ}#g" /etc/php/7.*/*/php.ini
|
||||
# Run database update
|
||||
/usr/bin/php /var/www/spotweb/bin/upgrade-db.php >/dev/null 2>&1
|
||||
|
||||
# Clean up apache pid (if there is one)
|
||||
rm -rf /run/apache2/apache2.pid
|
||||
|
||||
# Enabling PHP mod rewrite
|
||||
/usr/sbin/a2enmod rewrite && /etc/init.d/apache2 restart
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user