python - supervisor 启动时 can't find command的问题
PHP中文网
PHP中文网 2017-04-18 09:46:39
0
2
1471

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日志一直未空
请问怎么解决

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(2)
刘奇

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...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!