[manual] Use humbug-deployments/current as the CWD for supervisor processes

Some of our code uses the CWD, so we have to set it.

The config file needs to be copied over.

(imported from commit cec991ccbffddf7ea4d1ec8471377221ddd7c669)
This commit is contained in:
Zev Benjamin 2013-05-29 14:05:41 -04:00
parent 4cd9abdf10
commit d92d62412f
1 changed files with 6 additions and 0 deletions

View File

@ -37,6 +37,7 @@ stderr_logfile_backups=10 ; # of stderr logfile backups (default 10)
;stderr_events_enabled=false ; emit events on stderr writes (default false)
;environment=A=1,B=2 ; process environment additions (def no adds)
;serverurl=AUTO ; override serverurl computation (childutils)
directory=/home/humbug/humbug-deployments/current/
socket=unix:///home/humbug/humbug-deployments/fastcgi-socket
socket_owner=humbug:humbug
socket_mode=0700
@ -51,6 +52,7 @@ stopwaitsecs=30 ; max num secs to wait b4 SIGKILL (default 10)
user=humbug ; setuid to this UNIX account to run the program
redirect_stderr=true ; redirect proc stderr to stdout (default false)
stdout_logfile=/var/log/humbug/tornado.log ; stdout log path, NONE for none; default AUTO
directory=/home/humbug/humbug-deployments/current/
[program:humbug-events-user-activity]
command=python /home/humbug/humbug-deployments/current/manage.py process_user_activity
@ -62,6 +64,7 @@ stopwaitsecs=30 ; max num secs to wait b4 SIGKILL (default 10)
user=humbug ; setuid to this UNIX account to run the program
redirect_stderr=true ; redirect proc stderr to stdout (default false)
stdout_logfile=/var/log/humbug/events-user-activity.log ; stdout log path, NONE for none; default AUTO
directory=/home/humbug/humbug-deployments/current/
[program:humbug-events-subscribe-new-users]
command=python /home/humbug/humbug-deployments/current/manage.py subscribe_new_users
@ -73,6 +76,7 @@ stopwaitsecs=30 ; max num secs to wait b4 SIGKILL (default 10)
user=humbug ; setuid to this UNIX account to run the program
redirect_stderr=true ; redirect proc stderr to stdout (default false)
stdout_logfile=/var/log/humbug/events-subscribe-new-users.log ; stdout log path, NONE for none; default AUTO
directory=/home/humbug/humbug-deployments/current/
[program:humbug-events-confirmation-emails]
command=python /home/humbug/humbug-deployments/current/manage.py send_confirmation_emails
@ -84,6 +88,7 @@ stopwaitsecs=30 ; max num secs to wait b4 SIGKILL (default 10)
user=humbug ; setuid to this UNIX account to run the program
redirect_stderr=true ; redirect proc stderr to stdout (default false)
stdout_logfile=/var/log/humbug/events-confirmation-emails.log ; stdout log path, NONE for none; default AUTO
directory=/home/humbug/humbug-deployments/current/
[program:humbug-events-missedmessage_reminders]
command=python /home/humbug/humbug-deployments/current/manage.py send_missedmessage_reminders
@ -95,6 +100,7 @@ stopwaitsecs=30 ; max num secs to wait b4 SIGKILL (default 10)
user=humbug ; setuid to this UNIX account to run the program
redirect_stderr=true ; redirect proc stderr to stdout (default false)
stdout_logfile=/var/log/humbug/events-missedmessage_reminders.log ; stdout log path, NONE for none; default AUTO
directory=/home/humbug/humbug-deployments/current/
; The below sample group section shows all possible group values,
; create one or more 'real' group: sections to create "heterogeneous"