This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
finnlabs • software architects (author)
Mon Jun 15 05:35:50 -0700 2009
haproxy /
| name | age | message | |
|---|---|---|---|
| |
README.markdown | Mon Jun 15 05:35:50 -0700 2009 | |
| |
haproxy-config.py | Mon Jun 15 05:23:17 -0700 2009 | |
| |
haproxy-init | Mon Jun 15 05:35:50 -0700 2009 |
README.markdown
HAProxy
These are just some scripts that are used to split up the monolithic configuration file of haproxy into chunks.
haproxy-config.py
This is a python script that merges the configuration of haproxy which is layed out in a defined directory structure. It is intended to be run inside an init script.
This script expects a fixed directory structure. For more information about that have a look into the comments on top of the script.
haproxy-init
This script is an example init script for haproxy. It is adapted from the script which is provided by the haproxy package for debian. The original author of the script is Arnaud Cornet.
Getting started
- Copy
haproxy-configinto a directory of your choice. I recommend something like/usr/local/sbin/haproxy-config - Copy haproxy-init into your
/etc/init.ddirectory. You should rename it to something likehaproxy. - Adjust the variables on top of the init script to match your local installation.
- Run
chmod +x /etc/init.d/haproxy /usr/local/sbin/haproxy-config.py(adjust as needed)







