[uwsgi]
|
|
master
|
|
die-on-term
|
|
http-socket = :8000
|
|
harakiri = 10
|
|
post-buffering = 4096
|
|
processes = 4
|
|
enable-threads
|
|
threads = 1
|
|
chdir = /opt/healthchecks
|
|
module = hc.wsgi:application
|
|
thunder-lock
|
|
disable-write-exception
|
|
|
|
hook-pre-app = exec:./manage.py migrate
|
|
attach-daemon = ./manage.py sendalerts
|
|
attach-daemon = ./manage.py sendreports --loop
|