mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-27 02:20:31 +00:00
Add a command to fr-dev to restart celery.
This commit is contained in:
parent
894f76f843
commit
bba63e3515
1 changed files with 5 additions and 1 deletions
6
fr-dev
6
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
|
||||
|
|
Loading…
Reference in a new issue