-
apt-get install supervisor
-
测试是否安装成功
-
echo_supervisord_conf
-
创建配置文件
-
echo_supervisord_conf > /etc/supervisor/supervisord.conf
-
error: <class 'socket.error'>, [Errno 2] No such file or directory: file: /usr/lib64/python2.7/socket.py line: 224
-
解决方法 /usr/bin/python2 /usr/bin/supervisord -c /etc/supervisor/supervisord.conf