Python ConfigParser allows variables to expand e.g. I usually use
[program:groupsafe_celery]
site_folder=/home/src/app
src_folder=/home/src/app/src
command=%(src_folder)s/manage.py celeryd --loglevel=INFO -f %(site_folder)s/log/celeryd.log -B -s %(site_folder)s/log/celerybeat-schedule
Which is very convenient and reduces error, but supervisord has its ownconfig parser UnhosedConfigParse which is devied from RawConfigParser and hence doesn't support such expansion, giving error like
Error: Format string '%(src_folder)s' for 'directory' contains names which cannot be expanded
Am I missing something. is it possible in supervisord?, if not I think it should be added
Python ConfigParser allows variables to expand e.g. I usually use
Which is very convenient and reduces error, but supervisord has its ownconfig parser UnhosedConfigParse which is devied from RawConfigParser and hence doesn't support such expansion, giving error like
Error: Format string '%(src_folder)s' for 'directory' contains names which cannot be expanded
Am I missing something. is it possible in supervisord?, if not I think it should be added