[Supervisor-users] environment variables
Phillip Oldham
phill at activityhq.com
Wed Feb 3 11:05:19 EST 2010
From the manual:
> environment:
> A list of key/value pairs in the form |KEY=val,KEY2=val2|that will be
> placed in the child process' environment. The environment string may
> contain Python string expressions that will be evaluated against a
> dictionary containing "process_num", "program_name", "group_name" and
> "here" (the directory of the supervisord config file). **Note** that
> the subprocess will inherit the environment variables of the shell
> used to start "supervisord" except for the ones overridden here. See
> "Subprocess Environment" elsewhere.
Would it be possible to have the "directory" parameter added to that
dictionary? Its extreamily handy for working with Java processes when
you need to set environment variables to specific .jar files.
Thanks!
--
*Phillip B Oldham*
ActivityHQ
phill at activityhq.com <mailto:phill at theactivitypeople.co.uk>
------------------------------------------------------------------------
*Policies*
This e-mail and its attachments are intended for the above named
recipient(s) only and may be confidential. If they have come to you in
error, please reply to this e-mail and highlight the error. No action
should be taken regarding content, nor must you copy or show them to anyone.
This e-mail has been created in the knowledge that Internet e-mail is
not a 100% secure communications medium, and we have taken steps to
ensure that this e-mail and attachments are free from any virus. We must
advise that in keeping with good computing practice the recipient should
ensure they are completely virus free, and that you understand and
observe the lack of security when e-mailing us.
------------------------------------------------------------------------
More information about the Supervisor-users
mailing list