]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
core143: stop/start updated services
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 1 Apr 2020 14:59:42 +0000 (14:59 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 1 Apr 2020 14:59:42 +0000 (14:59 +0000)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/core/143/update.sh

index 51c4557bd9ed80b7b25c7c58eb3cc27be717fda6..cb07bbb59c5a7fc06434e38f12d30f3b361c07a2 100644 (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