# centos 7 安装 supervisor
yum -y install python-setuptools
easy_install supervisor
echo_supervisord_conf > /etc/supervisord.conf
mkdir -p /var/log/supervisor
mkdir -p /etc/supervisor/conf.d/
echo -e "[include]\nfiles = /etc/supervisor/conf.d/*.conf">>/etc/supervisord.conf