actually, looking at this now I realize my sudo is messing it up. I need to set the env variables for the su environment..... Yeah it works now. Thanks for helping me get to that conclusion.
On Sat, Jul 21, 2018 at 10:31 AM jdtommy <[email protected]> wrote: > would this chain of calls not work? > > ubuntu@ip-172-31-30-4:~$ export GRAPH_ADDRESS=graph.server.com > ubuntu@ip-172-31-30-4:~$ export GRAPH_PORT=8182 > ubuntu@ip-172-31-30-4:~$ sudo haproxy -d -V -f /etc/haproxy/haproxy.cfg > > On Sat, Jul 21, 2018 at 3:26 AM Igor Cicimov < > [email protected]> wrote: > >> On Sat, Jul 21, 2018 at 7:12 PM, Jonathan Matthews < >> [email protected]> wrote: >> >>> On Sat, 21 Jul 2018 at 09:12, jdtommy <[email protected]> wrote: >>> >>>> I am setting them before I start haproxy in the terminal. I tried both >>>> starting it as a service and starting directly, but neither worked. It >>>> still would not forward it along. >>>> >>> >>> Make sure that, as well as setting them, you're *exporting* the envvars >>> before asking a child process (i.e. haproxy) to use them. >>> >>> J >>> -- >>> Jonathan Matthews >>> London, UK >>> http://www.jpluscplusm.com/contact.html >>> >> >> As Jonathan said, plus make sure they are included/exported in the init >> script or systemd file for the service. >> >> > > -- > Jarad Duersch > -- Jarad Duersch

