[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:
parent
2148d045e6
commit
1196b80904
@ -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/
|
||||
|
@ -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"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user