mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
Update vst-install-amazon.sh
Added backup of /etc/clamd.d/scan.conf after installing clamd because the file is not there before.
This commit is contained in:
parent
b1e0e6a2a5
commit
57429a3203
1 changed files with 2 additions and 1 deletions
|
@ -1132,7 +1132,8 @@ if [ "$clamd" = 'yes' ]; then
|
|||
gpasswd -a clam exim
|
||||
gpasswd -a clam mail
|
||||
cp -f $vestacp/clamav/clamd.conf /etc/
|
||||
ln -s /etc/clamd.conf /etc/clamd.d/scan.conf
|
||||
cp -r /etc/clamd.d $vst_backups/clamd >/dev/null 2>&1
|
||||
ln -sf /etc/clamd.conf /etc/clamd.d/scan.conf
|
||||
cp -f $vestacp/clamav/freshclam.conf /etc/
|
||||
mkdir -p /var/log/clamav /var/run/clamav
|
||||
chown clam:clam /var/log/clamav /var/run/clamav /var/run/clamd.scan
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue