]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
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 581e8fd195a1c95d267481846334edb82827c3b6..bf63f58caf363e2eeb37f42afd79e345fbef633d 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