]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] startup: add an option to change to a new directory
authorWilly Tarreau <w@1wt.eu>
Sat, 10 Sep 2011 17:26:56 +0000 (19:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 10 Sep 2011 17:26:56 +0000 (19:26 +0200)
commit576132e5336aa7011df021fc9409a07d73d646d3
treeb4a5b27d836eb18e71f0e2f941f7d096a0f4c675
parent3bafcdc07ec1b5f46247a146ba1c6221f2a89ea7
[MINOR] startup: add an option to change to a new directory

Passing -C <dir> causes haproxy to chdir to <dir> before loading
any file. The argument may be passed anywhere on the command line.
A typical use case is :

  $ haproxy -C /etc/haproxy -f global.cfg -f haproxy.cfg
src/haproxy.c