diff options
author | B Stack <bgstack15@gmail.com> | 2022-02-15 10:34:40 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2022-02-15 10:34:40 -0500 |
commit | 030f2cf270a486f317fcb4b9e168ccc4cfcfb640 (patch) | |
tree | 2489eb96f969133e4b94e9c5f86e999a14bb88de /extra | |
parent | fix wsgi pidfile, user homedir, and INI loading (diff) | |
download | stackbin-030f2cf270a486f317fcb4b9e168ccc4cfcfb640.tar.gz stackbin-030f2cf270a486f317fcb4b9e168ccc4cfcfb640.tar.bz2 stackbin-030f2cf270a486f317fcb4b9e168ccc4cfcfb640.zip |
load stackbin_conf from env
Diffstat (limited to 'extra')
-rwxr-xr-x | extra/stackbin.init | 1 | ||||
-rw-r--r-- | extra/stackbin.service | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/extra/stackbin.init b/extra/stackbin.init index 057c793..34d915d 100755 --- a/extra/stackbin.init +++ b/extra/stackbin.init @@ -25,6 +25,7 @@ SCRIPTNAME=/etc/init.d/$NAME USER=stackbin WSGIBIN=uwsgi_python39 export STACKBIN_WSGI_INI=/etc/stackbin.wsgi.ini +export STACKBIN_CONF=/etc/stackbin.conf # Exit if the package is not installed [ -x "$DAEMON" ] || exit 0 diff --git a/extra/stackbin.service b/extra/stackbin.service index d2aad39..64da880 100644 --- a/extra/stackbin.service +++ b/extra/stackbin.service @@ -5,6 +5,7 @@ After=network.target syslog.target [Service] Environment=STACKBIN_WSGI_INI=/etc/stackbin.wsgi.ini +Environment=STACKBIN_CONF=/etc/stackbin.conf WorkingDirectory=/var/stackbin User=stackbin Group=stackbin |