[packages] haproxy: forgot to invoke start-stop-daemon with background (-b) mode

git-svn-id: svn://svn.openwrt.org/openwrt/packages@19126 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-01-14 12:32:27 +00:00
parent 2148d045e6
commit 1196b80904
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=haproxy
PKG_VERSION:=1.3.22
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://haproxy.1wt.eu/download/1.3/src/

View File

@ -11,7 +11,7 @@ HAPROXY_PID="/var/run/haproxy.pid"
start() {
[ -x "$HAPROXY_BIN" ] || return 1
start-stop-daemon -S -x $HAPROXY_BIN -- \
start-stop-daemon -S -b -x $HAPROXY_BIN -- \
-f "$HAPROXY_CONFIG" -V -D -d -p "$HAPROXY_PID"
}