Public bug reported:
The haproxy initscript misses a configtest option, which haproxy natively
supports. It also does not warn the user, if haproxy has been disabled in the
default file, but exits silently.
Also, it has become a de-facto standard for daemons to include conf.d
configuration file support.
I attached a patch for the current init script, which remedies all these issues
and should be forward/backward compatible to haproxy 1.3/1.4/1.5.
** Affects: haproxy (Ubuntu)
Importance: Undecided
Status: New
** Tags: improvement init patch
** Patch added: "patch for current haproxy init.d script"
https://bugs.launchpad.net/bugs/1325847/+attachment/4124542/+files/haproxy_init.patch
** Description changed:
- The haproxy initscript misses a configtest option, which haproxy natively
supports. It
- also does not warn the user, if haproxy has been disabled in the default
file, but exits
- silently.
- Also, it has become a de-facto standard for daemons to include conf.d
configuration
- file support.
- I attached a patch for the current init script, which remedies all these
issues and should
- be forward/backward compatible to haproxy 1.3/1.4/1.5.
+ The haproxy initscript misses a configtest option, which haproxy natively
supports. It also does not warn the user, if haproxy has been disabled in the
default file, but exits silently.
+ Also, it has become a de-facto standard for daemons to include conf.d
configuration file support.
+ I attached a patch for the current init script, which remedies all these
issues and should be forward/backward compatible to haproxy 1.3/1.4/1.5.
--
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to haproxy in Ubuntu.
https://bugs.launchpad.net/bugs/1325847
Title:
Improvement: initscript enhancement with support for conf.d and
configtest on startup
Status in “haproxy” package in Ubuntu:
New
Bug description:
The haproxy initscript misses a configtest option, which haproxy natively
supports. It also does not warn the user, if haproxy has been disabled in the
default file, but exits silently.
Also, it has become a de-facto standard for daemons to include conf.d
configuration file support.
I attached a patch for the current init script, which remedies all these
issues and should be forward/backward compatible to haproxy 1.3/1.4/1.5.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1325847/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help : https://help.launchpad.net/ListHelp