I need to proxy multiple environment variables from /etc/environment to a process managed by a supervisor.
The following configuration worked for me with supervisor 3.0r1-1 but supervisor 3.2.0-2 reports an error:
environment=FOO=$FOO,BAR=$BAR,BAZ=$BAZ Error: Unexpected end of key/value pairs in value...
Some answers suggest to quote the values but if I do so, the variables wouldn't be expanded to real values.
What am I doing wrong? How to fix it?