helper: work around for systems only having py3 binary
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
8870400a6e
commit
676be4a4fe
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue