supervisord -c ./username/data/doctor_online/main_server/supervisord.conf
报:Error: could not find config file ./username/data/doctor_online/main_server/supervisord.conf
For help, use /root/anaconda3/bin/supervisord -h
实际我的文件中有config文件,是因为我的命令写错了,常识性的错误:路径写错了
正确的命令:
supervisord -c ~/username/data/doctor_online/main_server/supervisord.conf
又报:Error: Another program is already listening on a port that one of our HTTP servers is configured to use. Shut this program down first before starting supervisord.
已经被占用
进行杀进程:
pkill supervisord
再次执行命令:
supervisord -c ~/username/data/doctor_online/main_server/supervisord.conf