summaryrefslogtreecommitdiffstats
path: root/static/joplinapi.uwsgi.ini
blob: f626e340ed638816b1b471ffa1524b39b955b1a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[uwsgi]
master = true
project = JoplinWebApi
base = /var/www

chdir = %(base)/%(project)
home = %(base)/%(project)/venv
module = app:app
plugins = python3
manage-script-name = true

processes = 1
uid = www-data
gid = www-data
logto = /var/log/uwsgi/app/%(project).log
logformat = '%(addr) - %(host) ["%(ltime)"] "%(method) %(uri)" "%(status)" "%(cl)" "%(referrer)" rt="%(time)" ut="%(secs)'

vacuum = true
die-on-term = true
touch-reload = %(chdir)/reload.file