fix freshclam startup

- create pid file in existing folder /run
- let freshclam log to stdout
- remove deprecated SafeBrowsing
master
Alexander Graf 3 years ago
parent d464187477
commit 447b237ecb

@ -3,9 +3,9 @@
############### ###############
DatabaseDirectory /data DatabaseDirectory /data
LogSyslog yes UpdateLogFile /dev/stdout
LogTime yes LogTime yes
PidFile /run/clamav/freshclam.pid PidFile /run/freshclam.pid
DatabaseOwner root DatabaseOwner root
############### ###############
@ -15,5 +15,4 @@ DatabaseOwner root
DatabaseMirror database.clamav.net DatabaseMirror database.clamav.net
ScriptedUpdates yes ScriptedUpdates yes
NotifyClamd /etc/clamav/clamd.conf NotifyClamd /etc/clamav/clamd.conf
SafeBrowsing yes
Bytecode yes Bytecode yes

Loading…
Cancel
Save