package: haproxy

- refresh patches
 - bump to version 1.4.20
 - clean up init script



git-svn-id: svn://svn.openwrt.org/openwrt/packages@31013 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
heil
2012-03-18 23:30:23 +00:00
parent 85049d7ba0
commit bf357edbd0
3 changed files with 27 additions and 48 deletions

View File

@ -15,10 +15,9 @@ start() {
}
stop() {
$HAPROXY_BIN -q -f $HAPROXY_CONFIG -p $HAPROXY_PID -st $(cat $HAPROXY_PID)
service_stop $HAPROXY_BIN
}
reload() {
$HAPROXY_BIN -q -f $HAPROXY_CONFIG -p $HAPROXY_PID -sf $(cat $HAPROXY_PID)
$HAPROXY_BIN -D -q -f $HAPROXY_CONFIG -p $HAPROXY_PID -sf $(cat $HAPROXY_PID)
}