mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 13:24:24 -07:00
Update vst-install-amazon.sh
- Cleaned up changes - Removed unnecessary clamd code from Centos installer
This commit is contained in:
parent
fb13db40ce
commit
9f671ccf90
1 changed files with 3 additions and 4 deletions
|
@ -1124,12 +1124,11 @@ if [ "$clamd" = 'yes' ]; then
|
|||
useradd clam -s /sbin/nologin -d /var/lib/clamav 2>/dev/null
|
||||
gpasswd -a clam exim
|
||||
gpasswd -a clam mail
|
||||
cp -f $vestacp/clamav/clamd.conf /etc/
|
||||
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/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
|
||||
mkdir -p /var/log/clamav /var/run/clamd.scan
|
||||
chown clam:clam /var/log/clamav /var/run/clamd.scan
|
||||
chown -R clam:clam /var/lib/clamav
|
||||
if [ "$release" -ge '7' ]; then
|
||||
cp -f $vestacp/clamav/clamd.service /usr/lib/systemd/system/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue