core142: stop squid and suricata while update

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter 2020-03-01 21:54:28 +00:00
parent 770a1507dd
commit c8b574c307
1 changed files with 5 additions and 0 deletions

View 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