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

[eventlistener:echo]
command=bash -c "echo '%(ENV_FOO)s' >&2"
environment=FOO="set from [eventlistener] section"
events=PROCESS_STATE_FATAL
startsecs=0
startretries=0
autorestart=false
