diff options
Diffstat (limited to 'antivirus')
-rw-r--r-- | antivirus/clamav/HISTORY | 4 | ||||
-rwxr-xr-x | antivirus/clamav/init.d/freshclam | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/antivirus/clamav/HISTORY b/antivirus/clamav/HISTORY index acfc2679f0..f6bf21cf21 100644 --- a/antivirus/clamav/HISTORY +++ b/antivirus/clamav/HISTORY @@ -1,3 +1,7 @@ +2018-08-15 Treeve Jelbert <treeve@sourcemage.org> + * init.d/freshclam: create /var/run/clamav + this may be missing if /var/run is a tmpfs + 2018-07-21 Treeve Jelbert <treeve@sourcemage.org> * DETAILS: version 0.100.1 diff --git a/antivirus/clamav/init.d/freshclam b/antivirus/clamav/init.d/freshclam index 8fac2a4157..228d9213fc 100755 --- a/antivirus/clamav/init.d/freshclam +++ b/antivirus/clamav/init.d/freshclam @@ -1,5 +1,6 @@ #!/bin/bash - +mkdir -p -m755 /var/run/clamav +chown clamav /var/run/clamav PROGRAM=/usr/bin/freshclam PIDFILE="/var/run/clamav/freshclam.pid" ARGS="-d --pid=$PIDFILE" |