Hello there

I’m trying to use some added environment variables, and it’s proving to be a 
massive pain in the arse.

I’m running 3.0b2

How on gods green earth are you supposed to setup this variable?

QUERCUS_PUBLISHER_RABBIT_CONN_STRING="amqp://username:[email protected]:5672/"

This doesn’t work
[program:nameofprogram]
environment=QUERCUS_PUBLISHER_RABBIT_CONN_STRING="amqp://username:[email protected]:5672/"

This doesn’t work
[program:nameofprogram]
environment=QUERCUS_PUBLISHER_RABBIT_CONN_STRING=amqp://username:[email protected]:5672/

This doesn’t work, with the value setup in an environment variable
[program:nameofprogram]
environment=QUERCUS_PUBLISHER_RABBIT_CONN_STRING=%(ENV_QUERCUS_PUBLISHER_RABBIT_CONN_STRING)s

The error I keep getting from the code is

Failed to connect to RabbitMQ: AMQP scheme must be either 'amqp://' or 
'amqps://'

It seems that it’s either not setting it at all, or it’s escaping something.

Any help or tips, gratefully received.


_______________________________________________
Supervisor-users mailing list
[email protected]
https://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to