6308ae9cea
Add systemd service + start script and deploy all that on Gaia.
7 lines
No EOL
183 B
Bash
Executable file
7 lines
No EOL
183 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
export PATH="/usr/bin/:/bin/:/srv/www/Axione-FTTH-Test/.poetry/bin/"
|
|
poetry install
|
|
poetry run gunicorn -b "localhost:${PORT}" --timeout 120 'main:app' |