From c8b574c3078b35c272960ac0b26de6dded845467 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 1 Mar 2020 21:54:28 +0000 Subject: [PATCH] core142: stop squid and suricata while update Signed-off-by: Arne Fitzenreiter --- config/rootfiles/core/142/update.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/rootfiles/core/142/update.sh b/config/rootfiles/core/142/update.sh index 581e8fd195..bf63f58caf 100644 --- a/config/rootfiles/core/142/update.sh +++ b/config/rootfiles/core/142/update.sh @@ -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 -- 2.39.2