Supervisord: how to append to $PATH

Posted by Prody on Server Fault See other posts from Server Fault or by Prody
Published on 2011-11-15T09:48:49Z Indexed on 2011/11/15 9:55 UTC
Read the original article Hit count: 403

Filed under:
|

I can't seem to figure out how to append to the default path in a supervisord program config.

I can reset the path:

environment=PATH="/home/site/environments/master/bin"

But when I try:

environment=PATH="/home/site/environments/master/bin:$PATH"

I see that supervisord doesn't evaluate $PATH.

Google wasn't a big help on this for some reason, I cannot believe I'm the first person to need this.

Supervisord must have support for this, any idea what it is?

© Server Fault or respective owner

Related posts about supervisor

Related posts about supervisord