gvapgsql/gvapgsql.sh

12 lines
172 B
Bash
Raw Normal View History

#!/bin/sh
set -e
2023-02-19 18:09:14 +01:00
QUEUE=pgsql
TASKS=${QUEUE}tasks
APP=gvapgsql
. "/srv/${APP}/.venv/bin/activate"
cd /srv/${APP}/${APP}
celery -A "${TASKS}" worker -Q "${QUEUE}" -l info