11 lines
172 B
Bash
Executable file
11 lines
172 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
QUEUE=pgsql
|
|
TASKS=${QUEUE}tasks
|
|
APP=gvapgsql
|
|
|
|
. "/srv/${APP}/.venv/bin/activate"
|
|
cd /srv/${APP}/${APP}
|
|
celery -A "${TASKS}" worker -Q "${QUEUE}" -l info
|