From 8dc7eb1c914d5754f0f3ebe5bf617881d251d8e4 Mon Sep 17 00:00:00 2001 From: ponce Date: Tue, 21 Aug 2012 19:47:57 +0200 Subject: system/clamav: Added a "su" option to the logrotate script This is needed for the new logrotate 3.8.x Signed-off-by: Robby Workman --- system/clamav/clamav.SlackBuild | 2 +- system/clamav/logrotate.clamav | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/system/clamav/clamav.SlackBuild b/system/clamav/clamav.SlackBuild index edbdd499fe..1bd047b7af 100644 --- a/system/clamav/clamav.SlackBuild +++ b/system/clamav/clamav.SlackBuild @@ -28,7 +28,7 @@ PRGNAM=clamav VERSION=${VERSION:-0.97.5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then diff --git a/system/clamav/logrotate.clamav b/system/clamav/logrotate.clamav index 8154a8ba4e..29b860baa0 100644 --- a/system/clamav/logrotate.clamav +++ b/system/clamav/logrotate.clamav @@ -5,6 +5,7 @@ delaycompress notifempty missingok + su clamav clamav postrotate /bin/kill -HUP `cat /var/run/clamav/clamd.pid 2>/dev/null` 2>/dev/null || true endscript -- cgit v1.2.3