summarylogtreecommitdiffstats
path: root/healthchecks.ini
blob: 93975d0b5b540b3534e7741d9d6219ffba541f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[uwsgi]
master
die-on-term
vacuuum = true
post-buffering = 4096
processes = 4
enable-threads
threads = 1
harakiri = 10
thunder-lock
disable-write-exception

plugins = python
module = hc.wsgi:application

uid = healthchecks
gid = http
socket = 0.0.0.0:8000
#socket = /run/uwsgi/%n.sock
#chmod-socket = 775

chdir = /usr/share/webapps/healthchecks
static-map = /static=/usr/share/webapps/healthchecks/static-collected

hook-pre-app = exec:./manage.py makemigrations
hook-pre-app = exec:./manage.py migrate

attach-daemon = ./manage.py sendalerts
attach-daemon = ./manage.py sendreports --loop
attach-daemon = ./manage.py smtpd --port 2525