From 0b0a3634cdb241335f629e3173b607c3f4c3f304 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Wed, 1 Apr 2020 14:59:42 +0000 Subject: [PATCH] core143: stop/start updated services Signed-off-by: Arne Fitzenreiter --- config/rootfiles/core/143/update.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/config/rootfiles/core/143/update.sh b/config/rootfiles/core/143/update.sh index 51c4557bd9..cb07bbb59c 100644 --- a/config/rootfiles/core/143/update.sh +++ b/config/rootfiles/core/143/update.sh @@ -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 -- 2.39.2