2020-03-04 20:48:10 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2023-02-19 18:19:27 +01:00
|
|
|
QUEUE=mysql
|
|
|
|
TASKS=${QUEUE}tasks
|
|
|
|
APP=gvamysql
|
2023-02-20 15:59:08 +01:00
|
|
|
export TZ="Europe/Berlin"
|
2023-02-19 18:19:27 +01:00
|
|
|
|
|
|
|
. "/srv/${APP}/.venv/bin/activate"
|
|
|
|
cd /srv/${APP}/${APP}
|
2023-02-20 15:59:08 +01:00
|
|
|
celery -A "${TASKS}" worker -Q "${QUEUE}" -E -l info
|