2020-03-04 18:32:39 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2023-02-19 18:09:14 +01:00
|
|
|
QUEUE=pgsql
|
|
|
|
TASKS=${QUEUE}tasks
|
|
|
|
APP=gvapgsql
|
2023-02-20 15:49:17 +01:00
|
|
|
export TZ="Europe/Berlin"
|
2023-02-19 18:09:14 +01:00
|
|
|
|
|
|
|
. "/srv/${APP}/.venv/bin/activate"
|
|
|
|
cd /srv/${APP}/${APP}
|
2023-02-20 15:49:17 +01:00
|
|
|
celery -A "${TASKS}" worker -Q "${QUEUE}" -E -l info
|