Supervisor / supervisor

Supervisor process control system for Unix (supervisord)
http://supervisord.org
Other
8.53k stars 1.25k forks source link

Problem to parse config file: No closing quotation in section #1557

Open vallsv opened 2 years ago

vallsv commented 2 years ago

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