lib/deprec/templates/haproxy/haproxy-init.d in deprec-2.1.1 vs lib/deprec/templates/haproxy/haproxy-init.d in deprec-2.1.4
- old
+ new
@@ -46,11 +46,12 @@
return 0
}
haproxy_reload()
{
- $HAPROXY -f "$CONFIG" -p $PIDFILE -D $EXTRAOPTS -st $(<$PIDFILE) \
- || return 2
+
+ # haproxy -f /etc/haproxy.conf -sf `cat /var/run/haproxy.pid`
+ $HAPROXY -f "$CONFIG" -sf `cat $PIDFILE` || return 2
return 0
}
case "$1" in
start)