atst/script/server
2018-06-18 11:25:48 -04:00

19 lines
277 B
Bash
Executable File

#!/bin/bash
reap() {
kill -TERM $child
sleep 0.1
exit
}
trap reap TERM INT
# If a command fails, exit the script
set -e
# Ensure we are in the app root directory (not the /script directory)
cd "$(dirname "${0}")/.."
# Launch the app
pipenv run python app.py ${@}