lifecycle: replace lowercase, deprecated prometheus_multiproc_dir
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
0c1954aeb7
commit
33567b56d7
|
@ -61,11 +61,11 @@ MODE_FILE="/tmp/authentik-mode"
|
||||||
if [[ "$1" == "server" ]]; then
|
if [[ "$1" == "server" ]]; then
|
||||||
wait_for_db
|
wait_for_db
|
||||||
echo "server" > $MODE_FILE
|
echo "server" > $MODE_FILE
|
||||||
# We only set prometheus_multiproc_dir for serer, as with the worker it just fills up the disk
|
# We only set PROMETHEUS_MULTIPROC_DIR for serer, as with the worker it just fills up the disk
|
||||||
# as one file is created per process
|
# as one file is created per process
|
||||||
#
|
#
|
||||||
# Set to TMPDIR instead hardcoded path so this can be used outside docker too
|
# Set to TMPDIR instead hardcoded path so this can be used outside docker too
|
||||||
export prometheus_multiproc_dir=$TMPDIR
|
export PROMETHEUS_MULTIPROC_DIR=$TMPDIR
|
||||||
python -m lifecycle.migrate
|
python -m lifecycle.migrate
|
||||||
/authentik-proxy
|
/authentik-proxy
|
||||||
elif [[ "$1" == "worker" ]]; then
|
elif [[ "$1" == "worker" ]]; then
|
||||||
|
|
Reference in New Issue