aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/example.uwsgi.ini
blob: 94e22dd00717340bcfea3a26e1dacfbbcf2d2177 (plain) (blame)
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
[uwsgi]
uid = www-data
gid = www-data

plugin = python
base = /var/www/sec-certs

chdir = %(base)
module = sec_certs_page
virtualenv = %(base)/virt
callable = app

enable-threads = true
single-interpreter = true
env = FLASK_ENV=production

pidfile = /run/uwsgi/app/certs/pid
socket = /run/uwsgi/app/certs/socket
chmod-socket = 666
chown-socket = www-data

smart-attach-daemon = /run/uwsgi/app/certs/dramatiq.pid %(virtualenv)/bin/dramatiq sec_certs_page:broker -p 2 -t 1 --pid-file /run/uwsgi/app/certs/dramatiq.pid --log-file /var/log/dramatiq/certs.log
attach-daemon = %(virtualenv)/bin/periodiq sec_certs_page:broker

master = true
workers = 4