diff options
author | Jens Vehlhaber <jens@eisfair.org> | 2016-01-18 11:38:09 +0100 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-01-19 09:30:41 +0000 |
commit | 085cc7e248d768869c04007d732dcce2a07e1363 (patch) | |
tree | 83cc236bed6ee1ff7e50bbc4e2ac6fd3f65ccbde /main/clamav/clamd.initd | |
parent | 696005a0ccf79f85dc056c67acecfe854f2e4edd (diff) | |
download | aports-085cc7e248d768869c04007d732dcce2a07e1363.tar.bz2 aports-085cc7e248d768869c04007d732dcce2a07e1363.tar.xz |
main/clamav: add pcre support for new signatures uses PCREs
Signed-off-by: Jens Vehlhaber <jens@eisfair.org>
Diffstat (limited to 'main/clamav/clamd.initd')
-rwxr-xr-x | main/clamav/clamd.initd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/clamav/clamd.initd b/main/clamav/clamd.initd index 35e6aaf6c9..5511a5666d 100755 --- a/main/clamav/clamd.initd +++ b/main/clamav/clamd.initd @@ -22,10 +22,10 @@ start_pre() { local socket=`awk '$1 == "LocalSocket" { print $2 }' $CONF` local socketdir=${socket%/*} local clamav_user=`awk '$1 == "User" { print $2 }' $CONF` - checkpath --directory --owner -m 750 ${clamav_user:-clamav} \ - ${pidfile%/*} - checkpath --directory --owner -m 750 ${clamav_user:-clamav} \ - ${socketdir:-/run/clamav} + checkpath --directory --owner ${clamav_user:-clamav} \ + --mode 750 ${pidfile%/*} + checkpath --directory --owner ${clamav_user:-clamav} \ + --mode 755 ${socketdir:-/run/clamav} } start() { |