Browse Source

Restart clamav-daemon after freshclam update.

Raphael Schneeberger 7 years ago
parent
commit
b22fd25140
2 changed files with 2 additions and 0 deletions
  1. 1 0
      install/hst-install-debian.sh
  2. 1 0
      install/hst-install-ubuntu.sh

+ 1 - 0
install/hst-install-debian.sh

@@ -1199,6 +1199,7 @@ if [ "$clamd" = 'yes' ]; then
     service clamav-daemon start
     service clamav-daemon start
     echo "Updating ClamAV..."
     echo "Updating ClamAV..."
     /usr/bin/freshclam  > /dev/null 2>&1
     /usr/bin/freshclam  > /dev/null 2>&1
+    service clamav-daemon restart
     check_result $? "clamav-daeom start failed"
     check_result $? "clamav-daeom start failed"
 fi
 fi
 
 

+ 1 - 0
install/hst-install-ubuntu.sh

@@ -1206,6 +1206,7 @@ if [ "$clamd" = 'yes' ]; then
     service clamav-daemon start
     service clamav-daemon start
     echo "Updating ClamAV..."
     echo "Updating ClamAV..."
     /usr/bin/freshclam  > /dev/null 2>&1
     /usr/bin/freshclam  > /dev/null 2>&1
+    service clamav-daemon restart
     check_result $? "clamav-daemon start failed"
     check_result $? "clamav-daemon start failed"
 fi
 fi