[packages] haproxy: forgot to invoke start-stop-daemon with background (-b) mode
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 14 Jan 2010 12:32:27 +0000 (12:32 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 14 Jan 2010 12:32:27 +0000 (12:32 +0000)
SVN-Revision: 19126

net/haproxy/Makefile
net/haproxy/files/haproxy.init

index 185036cd02e4fde796bbcb3d7d8a41ee6e655d08..8e7b509cce4bf52826678806d0bec5bf0846d174 100644 (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/
index fc6b8ff3001f72f8f359afad7f303ec9c8da1f75..5e4ef1578d7390a10aa99216df74b04dbde29663 100644 (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"
 }