Correct clamav daemon name. Thanks vblack for prompt fix

This commit is contained in:
Serghey Rodin 2013-10-01 13:29:33 +03:00
commit 1fc8580dbd

View file

@ -536,9 +536,9 @@ if [ "$srv_type" = 'medium' ] || [ "$srv_type" = 'large' ]; then
gpasswd -a clamav mail
gpasswd -a clamav Debian-exim
/usr/bin/freshclam
update-rc.d clamav defaults
service clamav stop > /dev/null 2>&1
service clamav start
update-rc.d clamav-daemon defaults
service clamav-daemon stop > /dev/null 2>&1
service clamav-daemon start
if [ "$?" -ne 0 ]; then
echo "Error: clamav start failed"
exit 1