Permalink
Browse files

update supervisor conf to use virtualenv

  • Loading branch information...
cedricporter committed Aug 24, 2014
1 parent 64e7218 commit 1f4cd45255e189caed09da10e345ff8681161395
Showing with 5 additions and 1 deletion.
  1. +4 −0 .gitignore
  2. +1 −1 etc/supervisor/163.gs.conf
View
@@ -2,3 +2,7 @@ etc/config.py
.env/
start.sh
log.log
webscan_360_cn.html
google7a32e07f62c143af.html
reload.sh
log/
@@ -4,7 +4,7 @@ numprocs_start = 8850
user = projects
process_name = 163gs-%(process_num)s
directory = /home/projects/163.gs/
command = /home/projects/163.gs/main.py --port=%(process_num)s
command = /home/projects/163.gs/env/bin/python /home/projects/163.gs/main.py --port=%(process_num)s
autorestart = true
redirect_stderr = true
stdout_logfile = /var/log/supervisor/163gs.log

0 comments on commit 1f4cd45

Please sign in to comment.