haproxy/admin
William Lallemand 9def1425ce BUG/MINOR: systemd: must check the configuration using -Ws
When doing a reload with a configuration which requires the
master-worker mode, the configuration check will fail because the check
is not done with -W/-Ws.

Example:
	wla@kikyo:~/haproxy$ ./haproxy -Ws -c -f haproxy.cfg
	Configuration file is valid
	wla@kikyo:~/haproxy$ ./haproxy -c -f haproxy.cfg
	[NOTICE]   (13153) : haproxy version is 2.5-dev2-4567b3-16
	[NOTICE]   (13153) : path to executable is ./haproxy
	[ALERT]    (13153) : config : Can't use a 'program' section without master worker mode.
	[ALERT]    (13153) : config : Fatal errors found in configuration.

This patch fixes the issue by adding -Ws on the check command line.

Must be backported in all stable branches. (The file was previously in
contrib/systemd/haproxy.service.in).
2021-07-26 11:03:54 +02:00
..
halog BUILD: makefile: build halog with the correct flags 2021-04-02 17:48:42 +02:00
iprange CONTRIB: move some admin-related sub-projects to admin/ 2021-04-02 17:48:42 +02:00
netsnmp-perl ADMIN: netsnmp: report "HAProxy" and not "Haproxy" in output descriptions 2021-05-09 06:41:37 +02:00
release-estimator CONTRIB: move some admin-related sub-projects to admin/ 2021-04-02 17:48:42 +02:00
selinux CONTRIB: move some admin-related sub-projects to admin/ 2021-04-02 17:48:42 +02:00
syntax-highlight MAJOR: config: remove parsing of the global "nbproc" directive 2021-06-11 17:02:13 +02:00
systemd BUG/MINOR: systemd: must check the configuration using -Ws 2021-07-26 11:03:54 +02:00
wireshark-dissectors/peers MINOR: freq_ctr: unify freq_ctr and freq_ctr_period into freq_ctr 2021-04-11 11:11:27 +02:00