On Sun, Jan 10, 2010 at 11:41:47AM +0100, Holger Just wrote:
> 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

yes, but just be careful not to use the old 1.3.15.2 which is easily
available, this version has too many bugs. The 1.3.15.10 and 1.3.22
are OK though.

Regards,
Willy


Reply via email to