mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -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
|
||||
service clamav-daemon start
|
||||
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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue