From: Romain Porte Date: Sat, 11 Nov 2017 12:34:59 +0000 (+0100) Subject: Replaced /bin/celeryd by /bin/celery in lazycelery X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=879f899952090afcd44ab56c93651d98012bbd30;p=mediagoblin.git 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. --- diff --git a/lazystarter.sh b/lazystarter.sh index 0ed22fd8..b531b068 100755 --- a/lazystarter.sh +++ b/lazystarter.sh @@ -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