Update vst-install-amazon.sh

apparently the /var/run/clamav folder is still required for the sock file
This commit is contained in:
cmstew 2019-01-05 13:08:59 -07:00 committed by GitHub
commit 7f833efcde
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/