2020-03-03 12:22:45 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2023-02-19 17:45:35 +01:00
|
|
|
QUEUE=ldap
|
|
|
|
TASKS=${QUEUE}tasks
|
|
|
|
APP=gvaldap
|
2023-02-20 15:41:16 +01:00
|
|
|
export TZ="Europe/Berlin"
|
2023-02-19 17:45:35 +01:00
|
|
|
|
|
|
|
. "/srv/${APP}/.venv/bin/activate"
|
|
|
|
cd /srv/${APP}/${APP}
|
2023-02-20 15:41:16 +01:00
|
|
|
celery -A "${TASKS}" worker -Q "${QUEUE}" -E -l info
|