谢谢老师,讲解得很细致,我有个小问题
supervisor的ini文件里配置了environment的虚拟环境,但是我不进入虚拟环境无法启动进程,进去了才能启动。请问是哪里没设置好?
[program:django_uwsgi]
command= uwsgi --ini /home/djcode/uwsgi.ini
directory=/home/djcode
environment=PATH="/home/djenv/bin"
stdout_logfile=/home/conf/uwsgi.log
stderr_logfile=/home/conf/uwsgi.log
autostart=true
autorestart=true
startsecs=10
stopwatisecs=60
priority=998