1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-03 00:07:05 +00:00

replace FLASK_ENV, which has been deprecated, with FLASK_DEBUG

This commit is contained in:
downtownallday 2022-09-18 15:44:01 -04:00
parent 603b716ac2
commit 809a75765e

View File

@ -4,7 +4,7 @@ cd "$(dirname "$0")/../../management" || exit 1
systemctl stop mailinabox
source /usr/local/lib/mailinabox/env/bin/activate
export DEBUG=1
export FLASK_ENV=development
export FLASK_DEBUG=1
if ! systemctl is-active --quiet miabldap-capture; then
export CAPTURE_STORAGE_ROOT=/mailinabox/management/reporting/capture/tests
fi