I know that supervisord reserves the right to use expansion
variables<https://github.com/Supervisor/supervisor/issues/138>,
but there should be a way to escape a command string so that expansion
variables can be passed "through" supervisord.

I need to run the following command from the command line using supervisord:

python manage.py run_gunicorn -w 2 -b 127.0.0.1:29004 --access-logfile
/Users/bmbouter/Documents/Hunt/djangoPerformanceModel/gunicorn-access.log
--error-logfile
/Users/bmbouter/Documents/Hunt/djangoPerformanceModel/gunicorn-error.log
--access-logformat '%(h)s %(l)s %(u)s %(t)s “%(r)s” %(s)s %(b)s “%(f)s”
“%(a)s ” “%({Cookie}i)s” “%(D)s” “%({HTTP_X_PERFORMANCE_RID}i)s”'

I cannot because I get the following error message:

'command' contains names which cannot be expanded

This should be do-able with a small bit of escaping logic, but currently
there is no way for me to accomplish my goal.  Any thoughts on a workaround?

Thanks,
Brian

-- 
Brian Bouterse
NCSU Libraries
_______________________________________________
Supervisor-users mailing list
[email protected]
https://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to