On Monday 13 February 2012 19:46:52 Robin Pellatt wrote:
> #!/bin/bash
> . bin/activate
> exec tracd --port=9000 --auth="*,/srv/users.htdigest,FGPS trac"
> --env-parent-dir=/srv/trac
Probably you can use virtualenv without the bash wrapper. Try to call the
python binary inside the virtualenv; I don't know where you have it, should be
something on your 'www-data' $HOME:
------------------------------
[program:trac]
command=/opt/trac/.virtualenvs/trac/bin/python /opt/trac/tracd
--port=9000 --auth="*,/srv/users.htdigest,FGPS trac"
--env-parent-dir=/srv/trac
directory=/opt/trac
user=www-data
------------------------------
I never tried this with 'trac', but 'twistd' ran nicely without needing a
wrapper.
--
Jordi Funollet Pujol
http://www.linkedin.com/in/jordifunollet
_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users