From 6b4e74b57bc673414340265efe0837835b643824 Mon Sep 17 00:00:00 2001 From: jow Date: Tue, 7 Feb 2012 22:11:18 +0000 Subject: [PATCH] [packages] syslog-ng: fix init script (based on patch by Lee Essen ) 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 --- admin/syslog-ng/Makefile | 2 +- admin/syslog-ng/files/syslog-ng.init | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/admin/syslog-ng/Makefile b/admin/syslog-ng/Makefile index cde46af97..4e5898e4b 100644 --- a/admin/syslog-ng/Makefile +++ b/admin/syslog-ng/Makefile @@ -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:= \ diff --git a/admin/syslog-ng/files/syslog-ng.init b/admin/syslog-ng/files/syslog-ng.init index 4a2706809..07b8a0562 100644 --- a/admin/syslog-ng/files/syslog-ng.init +++ b/admin/syslog-ng/files/syslog-ng.init @@ -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