mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
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
3 changed files with 4 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
PRGNAM=clamav
|
||||
VERSION=${VERSION:-0.97.5}
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/var/log/clamav/*.log {
|
||||
su clamav clamav
|
||||
weekly
|
||||
rotate 5
|
||||
compress
|
||||
|
|
Loading…
Reference in a new issue