Moves supervisor.conf back and updates service

This commit is contained in:
Patrick McDonagh
2017-05-02 10:59:52 -05:00
parent eeaef59d89
commit 1cc1933df4
3 changed files with 25 additions and 7 deletions

27
supervisor.conf Normal file
View File

@@ -0,0 +1,27 @@
[unix_http_server]
file=%(here)s/env/supervisor.sock
[supervisord]
pidfile=%(here)s/env/supervisord.pid
logfile=%(here)s/env/supervisord.log
logfile_maxbytes=50MB
logfile_backups=10
loglevel=info
nodaemon=false
minfds=1024
minprocs=200
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix://%(here)s/env/supervisor.sock
[program:pocwww]
autorestart=true
command=%(here)s/env/bin/pserve %(here)s/production.ini http_port=50%(process_num)02d
process_name=%(program_name)s-%(process_num)01d
numprocs=2
numprocs_start=0
redirect_stderr=true
stdout_logfile=%(here)s/env/%(program_name)s-%(process_num)01d.log