mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-04 00:17:06 +00:00
replace FLASK_ENV, which has been deprecated, with FLASK_DEBUG
This commit is contained in:
parent
603b716ac2
commit
809a75765e
@ -4,7 +4,7 @@ cd "$(dirname "$0")/../../management" || exit 1
|
|||||||
systemctl stop mailinabox
|
systemctl stop mailinabox
|
||||||
source /usr/local/lib/mailinabox/env/bin/activate
|
source /usr/local/lib/mailinabox/env/bin/activate
|
||||||
export DEBUG=1
|
export DEBUG=1
|
||||||
export FLASK_ENV=development
|
export FLASK_DEBUG=1
|
||||||
if ! systemctl is-active --quiet miabldap-capture; then
|
if ! systemctl is-active --quiet miabldap-capture; then
|
||||||
export CAPTURE_STORAGE_ROOT=/mailinabox/management/reporting/capture/tests
|
export CAPTURE_STORAGE_ROOT=/mailinabox/management/reporting/capture/tests
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user