#!/bin/sh # Reference: fuss.bin from fuss project # Startdate: 2022-02-13 19:25 test -z "${STACKBIN_WSGI_INI}" && { thisscript="$( readlink -f "${0}" )" STACKBIN_WSGI_INI="$( dirname "${thisscript}" )/$( basename "${thisscript}" | sed -r -e 's/\.bin$//;' ).wsgi.ini" } COMMAND="" grep -qiE 'ID=.*(rhel|centos|fedora)' /etc/os-release && COMMAND="${COMMAND} uwsgi" || \ COMMAND="${COMMAND} uwsgi_python39" ${COMMAND} --ini "${STACKBIN_WSGI_INI}"