mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 21:34:12 -07:00
Reverting clamav.sock
This commit is contained in:
parent
51fbca0ea7
commit
715262f162
1 changed files with 2 additions and 2 deletions
|
@ -101,8 +101,8 @@ if [ -f "/lib/systemd/system/clamav-daemon.service" ]; then
|
|||
fi
|
||||
|
||||
# reverting to default clamd sock
|
||||
if [ ! -f "/usr/local/vesta/data/upgrades/change-clamav-socket-v2" ]; then
|
||||
touch /usr/local/vesta/data/upgrades/change-clamav-socket-v2
|
||||
if [ ! -f "/usr/local/vesta/data/upgrades/change-clamav-socket-v3" ]; then
|
||||
touch /usr/local/vesta/data/upgrades/change-clamav-socket-v3
|
||||
if [ -f "/etc/clamav/clamd.conf" ]; then
|
||||
sed -i "s#/var/lib/clamav/clamd.sock#/var/run/clamav/clamd.ctl#g" /etc/clamav/clamd.conf
|
||||
if [ -f "/etc/exim4/exim4.conf.template" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue