gvaweb/gvaweb.sh

11 lines
168 B
Bash
Executable file

#!/bin/sh
set -e
QUEUE=web
TASKS=${QUEUE}tasks
APP=gvaweb
. "/srv/${APP}/.venv/bin/activate"
cd /srv/${APP}/${APP}
celery -A "${TASKS}" worker -Q "${QUEUE}" -l info