diff options
author | ponce <matteo.bernardini@gmail.com> | 2012-08-21 19:47:57 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-21 16:23:41 -0500 |
commit | 8dc7eb1c914d5754f0f3ebe5bf617881d251d8e4 (patch) | |
tree | c8e3cb4b8bdbad75427e335fe24ca240586f7b68 | |
parent | ff9d8a2bfcd4ef69dc8b224bfc5ce9244a715842 (diff) | |
download | slackbuilds-8dc7eb1c914d5754f0f3ebe5bf617881d251d8e4.tar.gz |
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 <rworkman@slackbuilds.org>
-rw-r--r-- | system/clamav/clamav.SlackBuild | 2 | ||||
-rw-r--r-- | system/clamav/logrotate.clamav | 1 |
2 files changed, 2 insertions, 1 deletions
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 |