Supervisor not using /etc/environment
问题 I have an script in PHP that prints an environment variable set in /etc/environment with getenv. It works fine when I execute it manually, but when is executed by supervisor, it doesn't work. I don't want to put manually this environment variable on supervisor conf file, I want it to read /etc/environment correctly. Any help? Thanks in advance 回答1: As it says in supervisord config files documentation: supervisord config documentation In the section environment: Note that the subprocess will