aboutsummaryrefslogtreecommitdiffstats
path: root/lazystarter.sh
diff options
context:
space:
mode:
authorRomain Porte <microjoe@microjoe.org>2017-11-11 13:34:59 +0100
committerBoris Bobrov <breton@cynicmansion.ru>2017-11-11 16:04:26 +0300
commit879f899952090afcd44ab56c93651d98012bbd30 (patch)
tree8cbe11257b038433ecfcf167d81a788e2a25e44e /lazystarter.sh
parent2ad4630c033acd9c1b52c139830c65bdd471bb66 (diff)
downloadmediagoblin-879f899952090afcd44ab56c93651d98012bbd30.tar.lz
mediagoblin-879f899952090afcd44ab56c93651d98012bbd30.tar.xz
mediagoblin-879f899952090afcd44ab56c93651d98012bbd30.zip
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.
Diffstat (limited to 'lazystarter.sh')
-rwxr-xr-xlazystarter.sh4
1 files changed, 2 insertions, 2 deletions
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