#!/bin/sh # Reference: fifconfig.bin from stackbin project # Startdate: 2022-11-29 test -z "${OUTBOUND_WSGI_INI}" && { thisscript="$( readlink -f "${0}" )" OUTBOUND_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:+${COMMAND} }uwsgi_python39" ${COMMAND} --ini "${OUTBOUND_WSGI_INI}"