mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-05 00:27:25 +00:00
two threads on gunicorn, which could help if one call is blocking for a bit.
This commit is contained in:
parent
15f1c50183
commit
722ae510a0
@ -106,7 +106,7 @@ chmod 640 /var/lib/mailinabox/{api,session}.key
|
||||
|
||||
source $venv/bin/activate
|
||||
export PYTHONPATH=$(pwd)/management
|
||||
exec gunicorn -b localhost:10222 -w 1 wsgi:app
|
||||
exec gunicorn -b localhost:10222 -w 2 wsgi:app
|
||||
EOF
|
||||
chmod +x $inst_dir/start
|
||||
cp --remove-destination conf/mailinabox.service /lib/systemd/system/mailinabox.service # target was previously a symlink so remove it first
|
||||
|
Loading…
Reference in New Issue
Block a user