|
@@ -1188,7 +1188,6 @@ if [ "$clamd" = 'yes' ]; then
|
|
|
gpasswd -a clamav mail
|
|
gpasswd -a clamav mail
|
|
|
gpasswd -a clamav Debian-exim
|
|
gpasswd -a clamav Debian-exim
|
|
|
cp -f $hestiacp/clamav/clamd.conf /etc/clamav/
|
|
cp -f $hestiacp/clamav/clamd.conf /etc/clamav/
|
|
|
- /usr/bin/freshclam
|
|
|
|
|
update-rc.d clamav-daemon defaults
|
|
update-rc.d clamav-daemon defaults
|
|
|
if [ ! -d "/var/run/clamav" ]; then
|
|
if [ ! -d "/var/run/clamav" ]; then
|
|
|
mkdir /var/run/clamav
|
|
mkdir /var/run/clamav
|
|
@@ -1202,6 +1201,8 @@ if [ "$clamd" = 'yes' ]; then
|
|
|
systemctl daemon-reload
|
|
systemctl daemon-reload
|
|
|
fi
|
|
fi
|
|
|
service clamav-daemon start
|
|
service clamav-daemon start
|
|
|
|
|
+ echo "Updating ClamAV..."
|
|
|
|
|
+ /usr/bin/freshclam > /dev/null 2>&1
|
|
|
check_result $? "clamav-daeom start failed"
|
|
check_result $? "clamav-daeom start failed"
|
|
|
fi
|
|
fi
|
|
|
|
|
|