]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/rootfiles/core/116/update.sh
core116: stop apache before extracting updated files
[ipfire-2.x.git] / config / rootfiles / core / 116 / update.sh
index 7a5512c9e78b9aed9e9839a542059f37f943fa25..ebc98e111c42c60f0d88f028f6943de34fec732a 100644 (file)
@@ -33,6 +33,7 @@ done
 
 # Stop services
 /etc/init.d/snort stop
+/etc/init.d/apache stop
 
 # Extract files
 extract_files
@@ -44,11 +45,11 @@ ldconfig
 #/usr/local/bin/update-lang-cache
 
 # Start services
-/etc/init.d/apache restart
+/etc/init.d/apache start
 /etc/init.d/snort start
 
 # This update need a reboot...
-#touch /var/run/need_reboot
+touch /var/run/need_reboot
 
 # Finish
 /etc/init.d/fireinfo start