Phillip Oldham wrote:
> I have a config file located at /etc/supervisord.conf inside will be a 
> number of [include] sections which include various files containing 
> [program] and [fcgi-program] sections. These include files are being 
> kept with their relevant projects, and start "programs" (usually python 
> scripts) that are local to them, eg:
> 
> # ls /var/www/myproject
> supervisord.conf wsgi.py
> # cat /var/www/myproject/supervisord.conf
> [program:myproject-wsgi]
> program=wsgi.py
> 
> This doesn't seem to be firing up the programs as expected; I'm assuming 
> its because once the file is included supervisor is looking for the 
> wsgi.py file in /etc.
> 
> Is there any way I can push the full path into the include file without 
> manually typing it? Maybe something like:
> 
> program=%(directory)s/wsgi.py

%(here)s will get you the location of the original config file, IIRC.

- C

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

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

Reply via email to