mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
Correct clamav daemon name. Thanks vblack for prompt fix
This commit is contained in:
parent
328fb045b3
commit
1fc8580dbd
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue