Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add supervisor files

  • Loading branch information...
commit 97e1b044580162037be23da03ff8448b28a645ef 1 parent 879391b
Ben Darnell authored February 22, 2011
10  production/chat.supervisor
... ...
@@ -0,0 +1,10 @@
  1
+# -*- conf -*-
  2
+
  3
+[program:chat]
  4
+process_name = chat-%(process_num)s
  5
+environment = PYTHONPATH="%(here)s/apps/tornado-production-skeleton/current"
  6
+command = python -m chat.chatdemo
  7
+	--port=%(process_num)s
  8
+	--log_file_prefix=%(here)s/logs/%(program_name)s-%(process_num)s.log
  9
+numprocs = 1
  10
+numprocs_start = 8000
13  production/supervisord.conf
... ...
@@ -0,0 +1,13 @@
  1
+[include]
  2
+files = *.supervisor
  3
+
  4
+[supervisord]
  5
+
  6
+[supervisorctl]
  7
+serverurl = unix://supervisord.sock
  8
+
  9
+[unix_http_server]
  10
+file = supervisord.sock
  11
+
  12
+[rpcinterface:supervisor]
  13
+supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface

0 notes on commit 97e1b04

Please sign in to comment.
Something went wrong with that request. Please try again.