[packages] haproxy: forgot to invoke start-stop-daemon with background (-b) mode
[openwrt/svn-archive/archive.git] / net / haproxy / files / haproxy.init
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"
 }