core142: stop squid and suricata while update
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 1 Mar 2020 21:54:28 +0000 (21:54 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 1 Mar 2020 21:54:28 +0000 (21:54 +0000)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/core/142/update.sh

index 581e8fd..bf63f58 100644 (file)
@@ -88,6 +88,8 @@ rm -rf /usr/lib/python2.7/site-packages/ddns
 rm -rf /usr/lib/pppd/2.4.7
 
 # Stop services
+/etc/init.d/squid stop
+/etc/init.d/suricata stop
 
 # Extract files
 extract_files
@@ -121,6 +123,9 @@ done
 /usr/local/bin/filesystem-cleanup
 
 # Start services
+/etc/init.d/unbound restart
+/etc/init.d/suricata start
+/etc/init.d/squid start
 
 # remove lm_sensor config after collectd was started
 # to reserch sensors at next boot with updated kernel