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

Update vst-install-amazon.sh

apparently the /var/run/clamav folder is still required for the sock file
cmstew 7 лет назад
Родитель
Сommit
7f833efcde
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      install/vst-install-amazon.sh

+ 2 - 2
install/vst-install-amazon.sh

@@ -1128,8 +1128,8 @@ if [ "$clamd" = 'yes' ]; then
     cp -f $vestacp/clamav/clamd.conf /etc/clamd.conf
     ln -sf /etc/clamd.conf /etc/clamd.d/scan.conf
     cp -f $vestacp/clamav/freshclam.conf /etc/
-    mkdir -p /var/log/clamav /var/run/clamd.scan
-    chown clam:clam /var/log/clamav /var/run/clamd.scan
+    mkdir -p /var/log/clamav /var/run/clamav /var/run/clamd.scan
+    chown clam:clam /var/log/clamav /var/run/clamav /var/run/clamd.scan
     chown -R clam:clam /var/lib/clamav
     if [ "$release" -ge '7' ]; then
         cp -f $vestacp/clamav/clamd.service /usr/lib/systemd/system/