2020-03-04 17:19:14 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2023-02-20 13:54:23 +01:00
|
|
|
QUEUE="file"
|
|
|
|
TASKS="fileservertasks"
|
|
|
|
APP="gvafile"
|
2023-02-20 15:42:02 +01:00
|
|
|
export TZ="Europe/Berlin"
|
2023-02-19 18:09:33 +01:00
|
|
|
|
|
|
|
. "/srv/${APP}/.venv/bin/activate"
|
|
|
|
cd /srv/${APP}/${APP}
|
2023-02-20 13:54:23 +01:00
|
|
|
celery -A "${TASKS}" worker -Q "${QUEUE}" -E -l info
|