]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/initscripts/packages/haproxy
2 ########################################################################
3 # Begin $rc_base/init.d/haproxy
5 # Description : HAProxy init script
7 ########################################################################
14 boot_mesg
"Starting HAProxy..."
15 loadproc
/usr
/sbin
/haproxy
-D -f /etc
/haproxy
/haproxy.cfg \
16 -p /var
/run
/haproxy.pid
20 boot_mesg
"Stopping HAProxy..."
21 killproc
/usr
/sbin
/haproxy
25 boot_mesg
"Reloading HAProxy..."
26 /usr
/sbin
/haproxy
-D -f /etc
/haproxy
/haproxy.cfg \
27 -p /var
/run
/haproxy.pid
-sf $
(cat /var
/run
/haproxy.pid
)
38 statusproc
/usr
/sbin
/haproxy
42 echo "Usage: ${0} {start|stop|reload|restart|status}"
47 # End $rc_base/init.d/haproxy