gvaldap/gvaldap.sh

11 lines
170 B
Bash
Executable file

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