File: http

package info (click to toggle)
python-orjson 3.11.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,192 kB
  • sloc: ansic: 11,268; python: 7,073; sh: 160; makefile: 9
file content (7 lines) | stat: -rwxr-xr-x 154 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/usr/bin/env bash

set -e

_dir="$(dirname "${BASH_SOURCE[0]}")"

PYTHONPATH=${_dir} gunicorn --preload --bind localhost:8001 --workers 2 "$@" wsgi:app