Просмотр исходного кода

Restart clamav-daemon after freshclam update.

Raphael Schneeberger 7 лет назад
Родитель
Сommit
b22fd25140
2 измененных файлов с 2 добавлено и 0 удалено
  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
     echo "Updating ClamAV..."
     /usr/bin/freshclam  > /dev/null 2>&1
+    service clamav-daemon restart
     check_result $? "clamav-daeom start failed"
 fi
 

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

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