1
0
mirror of https://github.com/fspc/workstand.git synced 2025-03-13 01:43:22 -04:00
workstand/provision/roles/templates/production/supervisor-program.conf
2016-03-23 16:29:28 -06:00

12 lines
357 B
Plaintext

[program:{{ app_name }}]
command={{ venv }}/bin/gunicorn -b 127.0.0.1:{{ app_port }} boxoffice.wsgi:application
directory={{ app_dir }}
environment=DB_PASSWORD="{{ db_user_password }}",OTB_SECRET_KEY="{{ django_key }}"
autostart=true
autorestart=true
redirect_stderr=true
[eventlistener:memmon]
command=memmon -p {{ app_name }}=50MB -m root
events=TICK_60