diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-02-17 19:43:17 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-07-01 18:02:28 +0200 |
commit | 4ea6cb7bf5ad954fb7833d68b82dc09179e9959d (patch) | |
tree | bc7611e33c67bc01b39ec1cb8f1dafdf4fe719c7 /install | |
parent | 4a9557cec74ef12f2b7263335039186ed8202fea (diff) | |
download | Ishtar-4ea6cb7bf5ad954fb7833d68b82dc09179e9959d.tar.bz2 Ishtar-4ea6cb7bf5ad954fb7833d68b82dc09179e9959d.zip |
ishtar-prepare-instance: start celery daemon before user creation
Diffstat (limited to 'install')
-rwxr-xr-x | install/ishtar-prepare-instance | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/install/ishtar-prepare-instance b/install/ishtar-prepare-instance index 1df266c71..098f1d486 100755 --- a/install/ishtar-prepare-instance +++ b/install/ishtar-prepare-instance @@ -379,6 +379,13 @@ EOF $PYTHON ./manage.py loaddata $data; done + ### Celery - start worker + + if [ -v $USE_CELERY ]; then + systemctl enable celery-$INSTANCE + systemctl start celery-$INSTANCE + fi + cecho y " - create superuser" if [ -z "$SUPERUSER_NAME" ]; then @@ -391,13 +398,6 @@ EOF cd .. $PYTHON ./install/post_install_script.py $INSTANCE $URL - ### Celery - start worker - - if [ -v $USE_CELERY ]; then - systemctl enable celery-$INSTANCE - systemctl start celery-$INSTANCE - fi - cat >&2 <<-'EOF' ------------------------------------------------------------------------------- |