summaryrefslogtreecommitdiff
path: root/yarns
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-02-02 20:25:14 +0200
committerLars Wirzenius <liw@liw.fi>2018-02-03 15:27:59 +0200
commit39217d34cbe9be990f2f2687f46037f556f8de73 (patch)
tree68088621513143b9e9af6f32f30b5c31f39327d3 /yarns
parent207d82bb24f83df0fe71c73f700cec076ffdcfc5 (diff)
downloadqvisqve-39217d34cbe9be990f2f2687f46037f556f8de73.tar.gz
Change: start_salami port, pid-file and daemonisation
start_salami now gets the port number for the Bottle variant from the config file, instead of hardcoding it as 12765. Additionally, the pid file is not optional for gunicorn use (it's not wanted when Salami is started by systemd). Additionally, gunicorn is no longer daemonised (also unwnted in the systemd case).
Diffstat (limited to 'yarns')
-rw-r--r--yarns/lib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yarns/lib.py b/yarns/lib.py
index b36869d..8379b16 100644
--- a/yarns/lib.py
+++ b/yarns/lib.py
@@ -185,7 +185,7 @@ def start_salami():
}
config = {
- 'gunicorn': True,
+ 'gunicorn': 'background',
'gunicorn-log': 'gunicorn.log',
'gunicorn-pid-file': V['pid-file'],
'gunicorn-port': V['port'],