Skip to content

Commit 1fc8580

Browse files
committed
Correct clamav daemon name. Thanks vblack for prompt fix
1 parent 328fb04 commit 1fc8580

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install/vst-install-ubuntu.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -536,9 +536,9 @@ if [ "$srv_type" = 'medium' ] || [ "$srv_type" = 'large' ]; then
536536
gpasswd -a clamav mail
537537
gpasswd -a clamav Debian-exim
538538
/usr/bin/freshclam
539-
update-rc.d clamav defaults
540-
service clamav stop > /dev/null 2>&1
541-
service clamav start
539+
update-rc.d clamav-daemon defaults
540+
service clamav-daemon stop > /dev/null 2>&1
541+
service clamav-daemon start
542542
if [ "$?" -ne 0 ]; then
543543
echo "Error: clamav start failed"
544544
exit 1

0 commit comments

Comments
 (0)