1980: fix freshclam startup r=mergify[bot] a=ghostwheel42

## What type of PR?

bug-fix

## What does this PR do?

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

### Related issue(s)

closes #1632 

## Prerequisites
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [X] In case of feature or enhancement: documentation updated accordingly
- [X] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.


Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
master
bors[bot] 3 years ago committed by GitHub
commit 9ddbfd537b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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