core143: stop/start updated services

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2020-04-01 14:59:42 +00:00
parent 55f4de214f
commit 0b0a3634cd

View File

@@ -24,7 +24,7 @@
. /opt/pakfire/lib/functions.sh
/usr/local/bin/backupctrl exclude >/dev/null 2>&1
core=142
core=143
exit_with_error() {
# Set last succesfull installed core.
@@ -48,6 +48,7 @@ done
rm -rf /usr/lib/go/9.2.0
# Stop services
/etc/init.d/suricata stop
# move swap after mount
mv -f /etc/rc.d/rcsysinit.d/S20swap \
@@ -74,6 +75,12 @@ telinit u
# Apply local configuration to sshd_config
/usr/local/bin/sshctrl
# Start services
/usr/local/bin/ipsecctrl S
/etc/init.d/unbound restart
/etc/init.d/sshd restart
/etc/init.d/suricata start
# remove dropped packages
for package in bluetooth; do
if [ -e /opt/pakfire/db/installed/meta-$package ]; then