Josh Joy
2015-02-09 20:20:43 UTC
Hi,
I'm trying to use environment variables in my command, though unable to
run.
My supervisor configuration file
environment=USER=%(ENV_FLOWER_USER_NAME),PASS=%(ENV_FLOWER_PASSWORD)
command=/usr/local/opt/python/bin/flower --basic_auth=%(ENV_USER}:%(ENV_PASS)
When I start supervisord, I receive the following error
Restarting supervisor: Error: Format string
'USER=%(ENV_FLOWER_USER_NAME),PASS=%(ENV_FLOWER_PASSWORD)' for
'environment' is badly formatted
Any ideas?
Thanks,
Josh
I'm trying to use environment variables in my command, though unable to
run.
My supervisor configuration file
environment=USER=%(ENV_FLOWER_USER_NAME),PASS=%(ENV_FLOWER_PASSWORD)
command=/usr/local/opt/python/bin/flower --basic_auth=%(ENV_USER}:%(ENV_PASS)
When I start supervisord, I receive the following error
Restarting supervisor: Error: Format string
'USER=%(ENV_FLOWER_USER_NAME),PASS=%(ENV_FLOWER_PASSWORD)' for
'environment' is badly formatted
Any ideas?
Thanks,
Josh