Problem to parse config file: No closing quotation in section
vallsv opened this issue · 0 comments
vallsv commented
Hi,
I fall down this problem recently.
If an env var contains # SOMETHING #
the parsing fails.
No idea if it is related to the #
or the multi lines.
$ more supervisord.conf
[supervisord]
nodaemon = true
loglevel = debug
[program:printenv]
command = /bin/bash -c 'env | sort | grep FOO_'
environment =
FOO_1=BAR_1,
FOO_2="# A #",
FOO_3=BAR_3
startsecs = 0
autorestart = false
$ supervisord -v
4.2.2
$ supervisord -c supervisord.conf
Error: No closing quotation in section 'program:printenv' (file: 'supervisord.conf')
For help, use /nobackup/lvalls1/valls/Software/miniconda3/envs/tomodemo-tools-env/bin/supervisord -h