Hi Craig,

(sorry, for double posting, missed the correct button...)

On 10.01.10 11:01, Craig Carl wrote:
>     Does anyone know where I can find a /etc/init.d/haproxy script for
> Debian?

The simplest approach would probably be to use the one shipped with the
official Haproxy package for Debian. To get it, just go to

http://packages.debian.org/squeeze/amd64/haproxy/download

and download the package from a location near you.

Now decompress the the package using something like

ar -t haproxy_1.3.22-1_amd64.deb

You will notice, it will create two files: data.tar.gz and
control.tar.gz. The data.tar.gz file contains the directory structure
which would be created on package installation. So if you examine it,
you will find your init script in etc/init.d/haproxy.

The other alternative would be to just use the haproxy package from
Dedian without compiling it yourself. They are indeed compiled using
USE_PCRE=1

--Holger

Reply via email to