Replaced /bin/celeryd by /bin/celery in lazycelery

On a fresh clone the celeryd executable is not present. This is because
of the celery version migration to celery 4.x. As per celery's
documentation at http://docs.celeryproject.org/en/latest/whatsnew-4.0.html,
celeryd is no longer shipped in this version.
This commit is contained in:
Romain Porte 2017-11-11 13:34:59 +01:00 committed by Boris Bobrov
parent 2ad4630c03
commit 879f899952

View File

@ -25,7 +25,7 @@ case "$selfname" in
ini_prefix=paste
;;
lazycelery.sh)
starter_cmd=celeryd
starter_cmd=celery
ini_prefix=mediagoblin
;;
*)
@ -87,7 +87,7 @@ case "$selfname" in
lazycelery.sh)
MEDIAGOBLIN_CONFIG="${ini_file}" \
CELERY_CONFIG_MODULE=mediagoblin.init.celery.from_celery \
$starter -B "$@"
$starter worker -B "$@"
;;
*) exit 1 ;;
esac