You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I add to a working config these lines, and restart haproxy ( haproxy -W -db -f /usr/local/etc/haproxy/haproxy.cfg)
program api
no option start-on-reload
command /usr/local/bin/dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin '/usr/local/sbin/haproxy' --config-file $HAPROXY_CFG --reload-cmd '' --reload-delay 5 --userlist controller
I am getting these errors
[NOTICE] 200/133115 (2244182) : New program 'api' (2244183) forked
[NOTICE] 200/133115 (2244182) : New worker #1 (2244184) forked
[WARNING] 200/133115 (2244184) : [haproxy.main()] Failed to drop supplementary groups. Using 'gid'/'group' without 'uid'/'user' is generally useless.
expected argument for flag `-r, --reload-cmd'
[ALERT] 200/133115 (2244182) : Current program 'api' (2244183) exited with code 1 (Exit)
[ALERT] 200/133115 (2244182) : exit-on-failure: killing every processes with SIGTERM
[ALERT] 200/133115 (2244182) : Current worker #1 (2244184) exited with code 143 (Terminated)
[WARNING] 200/133115 (2244182) : All workers exited. Exiting... (1)
I0720 15:31:15.998927 2244150 executor.cpp:1013] Command exited with status 1 (pid: 2244180)
When I add to a working config these lines, and restart haproxy ( haproxy -W -db -f /usr/local/etc/haproxy/haproxy.cfg)
I am getting these errors