Skip to content

config PATH in supervisor

Add the following line into config

environment=PATH="/PATH/TO/YOUR/bin"

supervisord在linux中启动默认继承了linux的环境变量,在这里可以设置supervisord进程特有的其他环境变量。

supervisord启动子进程时,子进程会拷贝父进程的内存空间内容,所以设置的这些环境变量也会被子进程继承。

Disclaimer
  1. License under CC BY-NC 4.0
  2. Copyright issue feedback me#imzye.me, replace # with @
  3. Not all the commands and scripts are tested in production environment, use at your own risk
  4. No privacy information is collected here
Try iOS App