From 0a5b10a03a617417adf719dc4d399f49f832b9b7 Mon Sep 17 00:00:00 2001
From: Greg Frost <gregfrost1@bigpond.com>
Date: Sat, 16 Jan 2010 07:42:55 +1030
Subject: syslog-ng: fix logrotate

---
 abs/core-testing/syslog-ng/PKGBUILD            | 2 +-
 abs/core-testing/syslog-ng/syslog-ng.logrotate | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/abs/core-testing/syslog-ng/PKGBUILD b/abs/core-testing/syslog-ng/PKGBUILD
index 3e5b473..a66a527 100644
--- a/abs/core-testing/syslog-ng/PKGBUILD
+++ b/abs/core-testing/syslog-ng/PKGBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Judd Vinet <jvinet@zeroflux.org>
 pkgname=syslog-ng
 pkgver=2.0.9
-pkgrel=10
+pkgrel=11
 pkgdesc="Next-generation syslogd with advanced networking and filtering capabilities"
 arch=(i686 x86_64)
 license=('GPL')
diff --git a/abs/core-testing/syslog-ng/syslog-ng.logrotate b/abs/core-testing/syslog-ng/syslog-ng.logrotate
index 75da1b0..b26dfb4 100644
--- a/abs/core-testing/syslog-ng/syslog-ng.logrotate
+++ b/abs/core-testing/syslog-ng/syslog-ng.logrotate
@@ -2,6 +2,6 @@
 	missingok
 	sharedscripts
 	postrotate
-		/bin/kill -HUP `cat /var/run/syslog-ng.pid 2>/dev/null`  2> /dev/null || true
+		/usr/bin/killall -HUP -q syslog-ng
 	endscript
 }
-- 
cgit v0.12

