[packages] syslog-ng: fix init script (based on patch by Lee Essen <lee.essen@nowonli...
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 7 Feb 2012 22:11:18 +0000 (22:11 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 7 Feb 2012 22:11:18 +0000 (22:11 +0000)
The syslog-ng start script doesn't stop syslog-ng because it tries to
use pid's instead of the executable name. Very simple patch attached.

SVN-Revision: 30367

admin/syslog-ng/Makefile
admin/syslog-ng/files/syslog-ng.init

index cde46af971b27cf5aaa701453de32ab1c2e1978a..4e5898e4b0ad96aa0c3beb1c275f89b858a316c1 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=syslog-ng
 PKG_VERSION:=1.6.12
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 PKG_MD5SUM:=a3cbfdb6e1e5beea181a7349749719f3
 
 PKG_SOURCE_URL:= \
index 4a2706809f55e7708ebd8910a18fcfc2f3dd864d..07b8a0562adbe7ecb16f12ee1510a54a19142cb3 100644 (file)
@@ -3,8 +3,6 @@
 
 START=50
 
-SERVICE_USE_PID=1
-
 start() {
        [ -f /etc/syslog-ng/syslog-ng.conf ] || return 1
        service_start /usr/sbin/syslog-ng