mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 13:54:28 -07:00
clamav-freshclam notification fix
This commit is contained in:
parent
818745df1b
commit
d4332cafc8
1 changed files with 6 additions and 0 deletions
|
@ -19,4 +19,10 @@ fi
|
||||||
|
|
||||||
crontab -l | { cat; echo "10 2 * * 6 sudo find /home/*/tmp/ -type f -mtime +5 -exec rm {} \;"; } | crontab -
|
crontab -l | { cat; echo "10 2 * * 6 sudo find /home/*/tmp/ -type f -mtime +5 -exec rm {} \;"; } | crontab -
|
||||||
|
|
||||||
|
touch /var/lib/clamav/clamd.sock
|
||||||
|
chown clamav:clamav /var/lib/clamav/clamd.sock
|
||||||
|
sed -i "s#/var/run/clamav/clamd.ctl#/var/lib/clamav/clamd.sock#g" /etc/clamav/clamd.conf
|
||||||
|
systemctl restart clamav-daemon
|
||||||
|
systemctl restart clamav-freshclam
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue