[Supervisor-users] Custom variables

Phillip Oldham phill at activityhq.com
Thu Oct 22 04:31:51 EDT 2009


Not sure if this is the right place to post feature requests (the plope 
collector seems to still have outstanding tickets from 2006).

It would be really handy if it were possible to define custom variables 
for use in the config files. For instance:

[environment]
basepath=/var/www
project1=/mysite
project2=/othersite

[program:mysite_wsgi]
directory=%(basepath)s%(project1)s

[program:othersite_wsgi]
directory=%(basepath)s%(project2)s

[program:randomsite_wsgi]
directory=%(basepath)s/random




More information about the Supervisor-users mailing list