fix freshclam startup

- create pid file in existing folder /run
- let freshclam log to stdout
- remove deprecated SafeBrowsing

(cherry picked from commit 447b237ecb)

# Conflicts:
#	optional/clamav/conf/freshclam.conf
This commit is contained in:
Alexander Graf
2021-09-16 09:03:44 +02:00
committed by Mergify
parent a28aa0d1a0
commit 8459f6667d

View File

@@ -0,0 +1,18 @@
###############
# General
###############
DatabaseDirectory /data
UpdateLogFile /dev/stdout
LogTime yes
PidFile /run/freshclam.pid
DatabaseOwner root
###############
# Updates
###############
DatabaseMirror database.clamav.net
ScriptedUpdates yes
NotifyClamd /etc/clamav/clamd.conf
Bytecode yes