Skip to content

Commit

Permalink
fix supervisord.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
SerhoLiu committed Aug 12, 2013
1 parent a9fd171 commit 9acf533
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket

[program:blog-8000]
command=python /home/blog/app/app.py --port=8000
command=python /home/blog/run.py --port=8000
autostart=true ; supervisord守护程序启动时自动启动tornado
autorestart=true ; supervisord守护程序重启时自动重启tornado
redirect_stderr=true ; 将stderr重定向到stdout
stdout_logfile = /home/blog/blog-8000.log

[program:blog-8001]
command=python /home/blog/app/app.py --port=8001
command=python /home/blog/run.py --port=8001
autostart=true ; supervisord守护程序启动时自动启动tornado
autorestart=true ; supervisord守护程序重启时自动重启tornado
redirect_stderr=true ; 将stderr重定向到stdout
Expand Down

0 comments on commit 9acf533

Please sign in to comment.