Starting FreshClam during myVesta installation

This commit is contained in:
myvesta 2021-12-17 16:38:43 +01:00 committed by GitHub
commit 6db07c4aa5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1321,6 +1321,11 @@ if [ "$clamd" = 'yes' ]; then
fi
service clamav-daemon start
check_result $? "clamav-daeom start failed"
systemctl status clamav-freshclam.service > /dev/null 2>&1
if [ $? -ne 0 ]; then
systemctl start clamav-freshclam.service
fi
fi