supervisor 启动时 can't find command的问题
配置如下
[program:kshuba]
command=/usr/sbin/uwsgi --ini /www/kshuba/uwsgi.ini & /usr/sbin/nginx
stopsignal=QUIT
autostart=true
autorestart=true
stdout_logfile=/data/logs/sup_ksb.log
redirect_stderr=true
directory=/usr/sbin/
其中
/usr/sbin/uwsgi --ini /www/kshuba/uwsgi.ini & /usr/sbin/nginx
命令 如果直接运行的话是没有问题的,还有/data/logs/sup_ksb.log日志一直未空
请问怎么解决
Check under the bin of the python installation directory to see if it is set as a system environment variable
Confirm whether the path of uwsgi is really /usr/sbin/uwsgi.
You can use the following command
$type uwsgi
refer here:
https://ma.ttias.be/superviso...