所有服务都在一台机器上的话,启动supervisord和mysql就可以了
echo “/usr/local/app/supervisord/bin/supervisord -c /usr/local/app/supervisord/conf/supervisord.lnmp.conf ”>>/etc/rc.local
测试环境里就是nginx、crontab、mysql、mongodb、redis、rsync、php-fpm
/usr/bin/supervisord -c /usr/local/app/supervisord/supervisord.conf
/usr/bin/supervisorctl -c /usr/local/app/supervisord/supervisord.conf