12 lines
256 B
Bash
Executable File
12 lines
256 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "$0")"
|
|
exec ./venv/bin/python -m gunicorn \
|
|
--workers 2 \
|
|
--bind 0.0.0.0:18888 \
|
|
--timeout 120 \
|
|
--access-logfile logs/local-access.log \
|
|
--error-logfile logs/local-error.log \
|
|
test_wsgi:app
|