[packages] syslog-ng: fix init script (based on patch by Lee Essen <lee.essen@nowonline.co.uk>)

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.

git-svn-id: svn://svn.openwrt.org/openwrt/packages@30367 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2012-02-07 22:11:18 +00:00
parent 618aa9516c
commit 6b4e74b57b
2 changed files with 1 additions and 3 deletions

View 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:= \

View 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