[supervisord]
nodaemon=true                ; start in foreground if true; default false
loglevel=debug                ; log level; default info; others: debug,warn,trace
logfile=/tmp/issue-1170b.log  ; main log file; default $CWD/supervisord.log
pidfile=/tmp/issue-1170b.pid  ; supervisord pidfile; default supervisord.pid
environment=FOO="set from [supervisord] section"

[program:echo]
command=bash -c "echo '%(ENV_FOO)s'"
environment=FOO="set from [program] section"
startsecs=0
startretries=0
autorestart=false
