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:
parent
bf73bbddf7
commit
348e57cb30
|
@ -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:
|
default to "us" if nothing is specified). For example:
|
||||||
COUNTRY=nl ./clamav.SlackBuild
|
COUNTRY=nl ./clamav.SlackBuild
|
||||||
|
|
||||||
|
You need a "clamav" user and group - we suggest uid=210 and gid=210.
|
||||||
|
|
||||||
See README.SLACKWARE for configuration help.
|
See README.SLACKWARE for configuration help.
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
PRGNAM=clamav
|
PRGNAM=clamav
|
||||||
VERSION=${VERSION:-0.97.5}
|
VERSION=${VERSION:-0.97.5}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-3}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
/var/log/clamav/*.log {
|
/var/log/clamav/*.log {
|
||||||
|
su clamav clamav
|
||||||
weekly
|
weekly
|
||||||
rotate 5
|
rotate 5
|
||||||
compress
|
compress
|
||||||
|
|
Loading…
Reference in New Issue