Dear Arnaud,
Thanks for maintaining haproxy on Debian systems. Please find below a
patch to fix init script reload for Ubuntu (sh is not bash) and use
-sf option instead of -st.
haproxy_reload()
{
- $HAPROXY -f "$CONFIG" -p $PIDFILE -D $EXTRAOPTS -st $(<$PIDFILE) \
+ $HAPROXY -f "$CONFIG" -p $PIDFILE -D $EXTRAOPTS -sf $(cat $PIDFILE) \ || return 2 return 0
Cheers,
--
Jean-Baptiste Quenot
http://caraldi.com/jbq/blog/
Received on 2008/01/24 10:26
This archive was generated by hypermail 2.2.0 : 2008/01/24 10:30 CET