12 lines
199 B
Bash
Executable file
12 lines
199 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
QUEUE=ldap
|
|
TASKS=${QUEUE}tasks
|
|
APP=gvaldap
|
|
export TZ="Europe/Berlin"
|
|
|
|
. "/srv/${APP}/.venv/bin/activate"
|
|
cd /srv/${APP}/${APP}
|
|
celery -A "${TASKS}" worker -Q "${QUEUE}" -E -l info
|