mirror of
https://github.com/sissbruecker/linkding
synced 2024-11-22 11:23:02 +00:00
7b03ceab98
* add die-on-term option to uwsgi * exec uwsgi in bootstrap.sh
24 lines
No EOL
462 B
INI
24 lines
No EOL
462 B
INI
[uwsgi]
|
|
chdir = /etc/linkding
|
|
module = siteroot.wsgi:application
|
|
env = DJANGO_SETTINGS_MODULE=siteroot.settings.prod
|
|
static-map = /static=static
|
|
processes = 2
|
|
threads = 2
|
|
pidfile = /tmp/linkding.pid
|
|
vacuum=True
|
|
stats = 127.0.0.1:9191
|
|
uid = www-data
|
|
gid = www-data
|
|
buffer-size = 8192
|
|
die-on-term = true
|
|
|
|
if-env = LD_CONTEXT_PATH
|
|
static-map = /%(_)static=static
|
|
endif =
|
|
|
|
if-env = LD_REQUEST_TIMEOUT
|
|
http-timeout = %(_)
|
|
socket-timeout = %(_)
|
|
harakiri = %(_)
|
|
endif = |