mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-20 16:02:59 +02:00
core118: Restart apache to drop PHP module
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
etc/system-release
|
||||
etc/issue
|
||||
etc/httpd/conf/loadmodule.conf
|
||||
etc/httpd/conf/vhosts.d/captive.conf
|
||||
etc/httpd/conf/vhosts.d/ipfire-interface-ssl.conf
|
||||
etc/httpd/conf/vhosts.d/ipfire-interface.conf
|
||||
|
||||
@@ -31,6 +31,9 @@ for (( i=1; i<=$core; i++ )); do
|
||||
rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire
|
||||
done
|
||||
|
||||
# Delete files
|
||||
rm -vf /etc/httpd/conf.d/php5.conf
|
||||
|
||||
# Stop services
|
||||
|
||||
# Extract files
|
||||
@@ -43,7 +46,7 @@ ldconfig
|
||||
/usr/local/bin/update-lang-cache
|
||||
|
||||
# Start services
|
||||
/etc/init.d/apache reload
|
||||
/etc/init.d/apache restart
|
||||
|
||||
# This update need a reboot...
|
||||
#touch /var/run/need_reboot
|
||||
|
||||
Reference in New Issue
Block a user