Dropper/src/start.sh

13 lines
323 B
Bash
Executable File

#!/bin/bash
# set -o xtrace ## To debug scripts
# set -o errexit ## To exit on error
# set -o errunset ## To exit if a variable is referenced but not set
function main() {
source "../venv/bin/activate"
gunicorn wsgi:app -b 0.0.0.0:1120 # <module>:<app> IE <file>:<flask app variable>
}
main $@;