supervisor---------------------------------常用

第一个 supervisor 的启动

supervisord -c ~/supervisord.conf
 这个是如果没有服务没有启动,则使用本脚本启动
 
进程的设置
[program:blog]
commad=/path/to/program var foo
地址一定是绝对路径,如果需要的话需要设置环境变量
 
 
posted @ 2016-10-10 22:13  不服抱你  阅读(182)  评论(0编辑  收藏  举报