From 4a8ce7e2862b338a7f8e34d016a3119290239b0b Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Tue, 29 Nov 2022 16:09:22 -0500 Subject: initial commit --- outbound.bin | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 outbound.bin (limited to 'outbound.bin') diff --git a/outbound.bin b/outbound.bin new file mode 100755 index 0000000..0e9d18a --- /dev/null +++ b/outbound.bin @@ -0,0 +1,11 @@ +#!/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}" -- cgit