What is the good way to set environment variable in supervisord using output from a file? I need like:
[program:prog1]
command=prog1 -param1 -param2
environment=PASSWORD=`cat .password`
I can use an additional script, but perhaps the better way exists:
[program:prog1]
command=start-prog1
start-prog1:
export PASSWORD=`cat .password`
start-prog1