aboutsummaryrefslogtreecommitdiff
path: root/extra/stackbin.init
diff options
context:
space:
mode:
Diffstat (limited to 'extra/stackbin.init')
-rwxr-xr-xextra/stackbin.init3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/stackbin.init b/extra/stackbin.init
index a8cd25e..057c793 100755
--- a/extra/stackbin.init
+++ b/extra/stackbin.init
@@ -19,11 +19,12 @@ DAEMON=/usr/sbin/stackbin.bin
DESC="stackbin"
NAME=stackbin
PATH=/sbin:/usr/sbin:/bin:/usr/bin
-PIDFILE2=/var/run/$NAME-wsgi.pid
+PIDFILE2=/var/$NAME/$NAME-wsgi.pid
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
USER=stackbin
WSGIBIN=uwsgi_python39
+export STACKBIN_WSGI_INI=/etc/stackbin.wsgi.ini
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
bgstack15