helper: work around for systems only having py3 binary
continuous-integration/drone/push Build is running Details

master
pictuga 2021-12-29 14:07:12 +01:00
parent 8870400a6e
commit 676be4a4fe
1 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,8 @@
#! /bin/sh #! /bin/sh
if ! command -v python && command -v python3 ; then
alias python='python3'
fi
function run { function run {
gunicorn --bind 0.0.0.0:${PORT:-8000} --preload --access-logfile - morss gunicorn --bind 0.0.0.0:${PORT:-8000} --preload --access-logfile - morss
} }