mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Starting FreshClam during myVesta installation
This commit is contained in:
parent
774faa2d98
commit
6db07c4aa5
1 changed files with 5 additions and 0 deletions
|
@ -1321,6 +1321,11 @@ if [ "$clamd" = 'yes' ]; then
|
||||||
fi
|
fi
|
||||||
service clamav-daemon start
|
service clamav-daemon start
|
||||||
check_result $? "clamav-daeom start failed"
|
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
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue