Commit 0ce0fc52 authored by ale's avatar ale
Browse files

fix silly ordering of NO_START checks

parent ed0ae76a
...@@ -29,11 +29,11 @@ check_dirs() { ...@@ -29,11 +29,11 @@ check_dirs() {
chown -R ${USER} ${LOGDIR} chown -R ${USER} ${LOGDIR}
} }
test -e /etc/default/ai-sso-server && . /etc/default/ai-sso-server
test -x ${GUNICORN} || exit 0 test -x ${GUNICORN} || exit 0
test ${NO_START} -eq 1 && exit 0 test ${NO_START} -eq 1 && exit 0
test -e /etc/default/ai-sso-server && . /etc/default/ai-sso-server
. /lib/lsb/init-functions . /lib/lsb/init-functions
GUNICORN_OPTS=" GUNICORN_OPTS="
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment