system/clamav: Fixed logrotate script (added "su" directive)

This commit also notes the need for a clamav user and group.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2012-09-12 15:54:29 -05:00
parent bf73bbddf7
commit 348e57cb30
3 changed files with 4 additions and 1 deletions

View file

@ -10,4 +10,6 @@ argument to the COUNTRY variable when running the build script (this will
default to "us" if nothing is specified). For example:
COUNTRY=nl ./clamav.SlackBuild
You need a "clamav" user and group - we suggest uid=210 and gid=210.
See README.SLACKWARE for configuration help.

View file

@ -28,7 +28,7 @@
PRGNAM=clamav
VERSION=${VERSION:-0.97.5}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then

View file

@ -1,4 +1,5 @@
/var/log/clamav/*.log {
su clamav clamav
weekly
rotate 5
compress