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
Server 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1325847/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to