helper: work around for systems only having py3 binary

This commit is contained in:
pictuga 2021-12-29 14:07:12 +01:00
parent 8870400a6e
commit 676be4a4fe

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