2011/12/16 Roberto De Ioris <[email protected]> > I have no clear syntax in my mind but i would like something > > [uwsgi] > if-file = config.ru!rack=config.ru!rails=appdir > ; am i on heroku ? > if-env = PORT!http-socket=$(PORT)!socket=:3031 > ; am i on unbit ? (no socket needed) > if-env = UNBIT!!socket=:3031 > ; am i django ? > if-file = settings.py!django=true > if-opt = django!module=django.core.handlers.wsgi:WSGIHandler() > if-opt = django!env=DJANGO_SETTINGS_MODULE=%d.settings
Maybe it would be enough to add 2 options: --include <path> - to be able to include another file into --ini/xml/json configuration --include-exec <command> - same as above, but instead of including a file, it would execute command and include it's output, so one could write simple bash script that would setup options -- -------------------------------- Łukasz Mierzwa
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
