mirror of
http://git.openwrt.org/packages.git
synced 2025-01-08 11:57:34 +08:00
[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:
parent
618aa9516c
commit
6b4e74b57b
@ -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:= \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user