summaryrefslogtreecommitdiffstats
path: root/antivirus
diff options
context:
space:
mode:
authorTreeve Jelbert2018-10-08 11:44:00 +0200
committerTreeve Jelbert2018-10-08 11:44:00 +0200
commit3ca230109a36bb39c86e137585f9e01d1c792d94 (patch)
tree3212904b0fcfcbf1821c153a915bb2aaa593d213 /antivirus
parent0c9bb88f7e0126cf8e9637245dc44e509de11e3a (diff)
clamav - fix freshclam script
Diffstat (limited to 'antivirus')
-rw-r--r--antivirus/clamav/HISTORY3
-rwxr-xr-xantivirus/clamav/init.d/freshclam2
2 files changed, 4 insertions, 1 deletions
diff --git a/antivirus/clamav/HISTORY b/antivirus/clamav/HISTORY
index 0260c9b90b..88e4c04a39 100644
--- a/antivirus/clamav/HISTORY
+++ b/antivirus/clamav/HISTORY
@@ -1,3 +1,6 @@
+2018-10-08 Treeve Jelbert <treeve@sourcemage.org>
+ * init.d/freshclam: add user option
+
2018-10-04 Treeve Jelbert <treeve@sourcemage.org>
* DETAILS: version 0.100.2
diff --git a/antivirus/clamav/init.d/freshclam b/antivirus/clamav/init.d/freshclam
index 228d9213fc..0581d7a6f5 100755
--- a/antivirus/clamav/init.d/freshclam
+++ b/antivirus/clamav/init.d/freshclam
@@ -3,7 +3,7 @@ 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"
+ARGS="-d --pid=$PIDFILE -u clamav"
RUNLEVEL=3
NEEDS="+network"