Merge branch 'jammyjellyfish2204-gunicorn' into jammyjellyfish2204-everything

This commit is contained in:
Steve Hay
2022-09-06 13:58:06 -04:00
+1 -1
View File
@@ -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