From a441420a0562f451fd8bfc2d35207ed0e57bf278 Mon Sep 17 00:00:00 2001
From: Romain Porte <microjoe@microjoe.org>
Date: Sat, 11 Nov 2017 13:34:59 +0100
Subject: [PATCH] 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.
---
lazystarter.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lazystarter.sh b/lazystarter.sh
index 0ed22fd8..b531b068 100755
|
a
|
b
|
case "$selfname" in
|
| 25 | 25 | ini_prefix=paste |
| 26 | 26 | ;; |
| 27 | 27 | lazycelery.sh) |
| 28 | | starter_cmd=celeryd |
| | 28 | starter_cmd=celery |
| 29 | 29 | ini_prefix=mediagoblin |
| 30 | 30 | ;; |
| 31 | 31 | *) |
| … |
… |
case "$selfname" in
|
| 87 | 87 | lazycelery.sh) |
| 88 | 88 | MEDIAGOBLIN_CONFIG="${ini_file}" \ |
| 89 | 89 | CELERY_CONFIG_MODULE=mediagoblin.init.celery.from_celery \ |
| 90 | | $starter -B "$@" |
| | 90 | $starter worker -B "$@" |
| 91 | 91 | ;; |
| 92 | 92 | *) exit 1 ;; |
| 93 | 93 | esac |