Add TZ for consistent Celery timestamps

This commit is contained in:
Jan Dittberner 2023-02-20 15:41:16 +01:00
parent 866703d3aa
commit 2631a27c1c

View file

@ -5,7 +5,8 @@ set -e
QUEUE=ldap QUEUE=ldap
TASKS=${QUEUE}tasks TASKS=${QUEUE}tasks
APP=gvaldap APP=gvaldap
export TZ="Europe/Berlin"
. "/srv/${APP}/.venv/bin/activate" . "/srv/${APP}/.venv/bin/activate"
cd /srv/${APP}/${APP} cd /srv/${APP}/${APP}
celery -A "${TASKS}" worker -Q "${QUEUE}" -l info celery -A "${TASKS}" worker -Q "${QUEUE}" -E -l info