config PATH in supervisor
Add the following line into config
environment=PATH="/PATH/TO/YOUR/bin"
supervisord
在linux中启动默认继承了linux的环境变量,在这里可以设置supervisord进程特有的其他环境变量。
supervisord
启动子进程时,子进程会拷贝父进程的内存空间内容,所以设置的这些环境变量也会被子进程继承。
Disclaimer
- License under
CC BY-NC 4.0
- Copyright issue feedback
me#imzye.me
, replace # with @ - Not all the commands and scripts are tested in production environment, use at your own risk
- No privacy information is collected here