summaryrefslogtreecommitdiff
path: root/system/clamav/logrotate.clamav
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-09-12 15:54:29 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-12 18:01:23 -0500
commit348e57cb304fa67e943cb9a10201826c98d91a2d (patch)
tree5af7a3008b8337b2b2a4c5ac9e01358d3b5f6f22 /system/clamav/logrotate.clamav
parentbf73bbddf737631baf62b8d432b37b5a1eb48636 (diff)
downloadslackbuilds-348e57cb304fa67e943cb9a10201826c98d91a2d.tar.gz
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>
Diffstat (limited to 'system/clamav/logrotate.clamav')
-rw-r--r--system/clamav/logrotate.clamav1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/clamav/logrotate.clamav b/system/clamav/logrotate.clamav
index 29b860baa0..77c9673300 100644
--- a/system/clamav/logrotate.clamav
+++ b/system/clamav/logrotate.clamav
@@ -1,4 +1,5 @@
/var/log/clamav/*.log {
+ su clamav clamav
weekly
rotate 5
compress