gvasalt/states/gnuviechadmin/gvapgsql/run_celery.sh

13 lines
314 B
Bash
Raw Normal View History

2017-08-20 12:55:04 +02:00
#!/bin/sh
set -ex
. {{ home }}/gvasettings.sh
unset LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY \
LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT \
LC_IDENTIFICATION LC_ALL
cd {{ appdir }}
{{ virtualenv }}/bin/celery worker -A gvapgsql -Q pgsql --loglevel=INFO