From bba63e351544913947263445004dd11c2cc75357 Mon Sep 17 00:00:00 2001 From: Adam Kelly Date: Mon, 20 Apr 2020 17:10:44 +0100 Subject: [PATCH] Add a command to fr-dev to restart celery. --- fr-dev | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fr-dev b/fr-dev index f697770d..74cc3595 100755 --- a/fr-dev +++ b/fr-dev @@ -34,7 +34,11 @@ case "$1" in dbshell) docker-compose exec db psql -U fedireads fedireads ;; + + restart_celery) + docker-compose restart celery_worker + ;; *) - echo "Unrecognised command. Try: up, initdb, resetdb,makemigrations, migrate, shell, dbshell " + echo "Unrecognised command. Try: up, initdb, resetdb,makemigrations, migrate, shell, dbshell,restart_celery" ;; esac