supervisor 配置文件备忘
来源:互联网 发布:裁切软件 编辑:程序博客网 时间:2024/06/05 02:32
[program:app1]
command=/usr/local/sbin/uwsgi -s 127.0.0.1:7001 -M -R 200 -p 2 --env "DJANGO_SETTINGS_MODULE=settings" -w "django.core.handlers.wsgi:WSGIHandler()"
directory=/home/kevin/workspace/app1 ; 指定执行命令的路径
user=kevin ; 如果supervisord是通过root启动的,则user指定command运行的用户;否则此项配置不起作用
autostart=true ; 随supervisord的启动而启动
autorestart=true ; 意外情况自动重启
stdout_logfile=/home/kevin/log/app1/uwsgi-app1.log ; 程序运行中日志保存的文件路径
redirect_stderr=true ; 标准程序错误自动发送到supervisord
stopsignal=QUIT ; 退出信号
[program:app2]
command=/usr/local/sbin/uwsgi -s 127.0.0.1:7000 -M -R 200 -p 2 --env "DJANGO_SETTINGS_MODULE=settings" -w "django.core.handlers.wsgi:WSGIHandler()"
directory=/home/kevin/workspace/app2 ; 指定执行命令的路径
user=kevin ; 如果supervisord是通过root启动的,则user指定command运行的用户;否则此项配置不起作用
autostart=true ; 随supervisord的启动而启动
autorestart=true ; 意外情况自动重启
stdout_logfile=/home/kevin/log/app2/uwsgi-app2.log ; 程序运行中日志保存的文件路径
redirect_stderr=true ; 标准程序错误自动发送到supervisord
stopsignal=QUIT ; 退出信号
[program:app3]
command=/usr/local/sbin/uwsgi -s 127.0.0.1:7003 -M -R 200 -p 2 --env "DJANGO_SETTINGS_MODULE=settings" -w "django.core.handlers.wsgi:WSGIHandler()"
directory=/home/kevin/workspace/app3 ; 指定执行命令的路径
user=kevin ; 如果supervisord是通过root启动的,则user指定command运行的用户;否则此项配置不起作用
autostart=true ; 随supervisord的启动而启动
autorestart=true ; 意外情况自动重启
stdout_logfile=/home/kevin/log/app3/uwsgi-app3.log ; 程序运行中日志保存的文件路径
redirect_stderr=true ; 标准程序错误自动发送到supervisord
stopsignal=QUIT ; 退出信号
[program:app4]
command=python main.py --web-console --web-console-port=7002
directory=/home/kevin/workspace/app4
user=kevin
autostart=true
autorestart=true
stdout_logfile=/home/kevin/log/app4/uwsgi-app4.log
redirect_stderr=true
stopsignal=QUIT
[program:app5]
command=app5 -d --foreground -r /home/kevin/svn
directory=/home/kevin/svn
user=kevin
autostart=true
autorestart=true
stdout_logfile=/home/kevin/log/svn.log
redirect_stderr=true
command=/usr/local/sbin/uwsgi -s 127.0.0.1:7001 -M -R 200 -p 2 --env "DJANGO_SETTINGS_MODULE=settings" -w "django.core.handlers.wsgi:WSGIHandler()"
directory=/home/kevin/workspace/app1 ; 指定执行命令的路径
user=kevin ; 如果supervisord是通过root启动的,则user指定command运行的用户;否则此项配置不起作用
autostart=true ; 随supervisord的启动而启动
autorestart=true ; 意外情况自动重启
stdout_logfile=/home/kevin/log/app1/uwsgi-app1.log ; 程序运行中日志保存的文件路径
redirect_stderr=true ; 标准程序错误自动发送到supervisord
stopsignal=QUIT ; 退出信号
[program:app2]
command=/usr/local/sbin/uwsgi -s 127.0.0.1:7000 -M -R 200 -p 2 --env "DJANGO_SETTINGS_MODULE=settings" -w "django.core.handlers.wsgi:WSGIHandler()"
directory=/home/kevin/workspace/app2 ; 指定执行命令的路径
user=kevin ; 如果supervisord是通过root启动的,则user指定command运行的用户;否则此项配置不起作用
autostart=true ; 随supervisord的启动而启动
autorestart=true ; 意外情况自动重启
stdout_logfile=/home/kevin/log/app2/uwsgi-app2.log ; 程序运行中日志保存的文件路径
redirect_stderr=true ; 标准程序错误自动发送到supervisord
stopsignal=QUIT ; 退出信号
[program:app3]
command=/usr/local/sbin/uwsgi -s 127.0.0.1:7003 -M -R 200 -p 2 --env "DJANGO_SETTINGS_MODULE=settings" -w "django.core.handlers.wsgi:WSGIHandler()"
directory=/home/kevin/workspace/app3 ; 指定执行命令的路径
user=kevin ; 如果supervisord是通过root启动的,则user指定command运行的用户;否则此项配置不起作用
autostart=true ; 随supervisord的启动而启动
autorestart=true ; 意外情况自动重启
stdout_logfile=/home/kevin/log/app3/uwsgi-app3.log ; 程序运行中日志保存的文件路径
redirect_stderr=true ; 标准程序错误自动发送到supervisord
stopsignal=QUIT ; 退出信号
[program:app4]
command=python main.py --web-console --web-console-port=7002
directory=/home/kevin/workspace/app4
user=kevin
autostart=true
autorestart=true
stdout_logfile=/home/kevin/log/app4/uwsgi-app4.log
redirect_stderr=true
stopsignal=QUIT
[program:app5]
command=app5 -d --foreground -r /home/kevin/svn
directory=/home/kevin/svn
user=kevin
autostart=true
autorestart=true
stdout_logfile=/home/kevin/log/svn.log
redirect_stderr=true
topsignal=QUIT
[program:memcached]command=/usr/share/memcached/scripts/start-memcached-nodaemonuser=rootautostart=trueautorestart=truestdout_logfile=/var/log/memcached.stdout.logredirect_stderr=truestopsignal=QUIT
- supervisor 配置文件备忘
- Supervisor使用备忘
- Supervisor的配置文件
- Supervisor配置文件详解
- supervisor uwsgi配置文件
- supervisor 的配置文件的使用
- supervisor——配置文件详解
- 备忘 Tomcat 配置文件
- hibernate配置文件备忘
- nginx 配置文件备忘
- nginx 配置文件备忘-Terry
- redis配置文件备忘
- Vim配置文件备忘
- supervisor
- supervisor
- supervisor
- supervisor
- supervisor
- Xcode修改项目名称
- IE10和HTML5 你该了解的那些
- Octave 是写得很优雅的一个软件
- Eclipse Android编程快捷键
- Struts2 unhandled exception
- supervisor 配置文件备忘
- 即时打印SQL包
- linux开启防火墙端口和查看,开启相关和关闭端口号
- 光盘自动运行:如何编写autorun文件
- Android中自定义SeekBar的背景颜色,进度条颜色,以及滑块的图片
- 一切看淡,心就不累了-伤感QQ日志
- String.Format数字格式化输出 {0:N2} {0:D2} {0:C2
- (科大讯飞)实现一个类:不能被继承,而且最多只能有三个实例
- amCharts之柱形图