summaryrefslogtreecommitdiff
path: root/install/ishtar-prepare-instance
diff options
context:
space:
mode:
Diffstat (limited to 'install/ishtar-prepare-instance')
-rwxr-xr-xinstall/ishtar-prepare-instance4
1 files changed, 4 insertions, 0 deletions
diff --git a/install/ishtar-prepare-instance b/install/ishtar-prepare-instance
index 50740b1b5..4ce36fae9 100755
--- a/install/ishtar-prepare-instance
+++ b/install/ishtar-prepare-instance
@@ -276,6 +276,9 @@ EOF
s|#INSTALL_PATH#|$INSTALL_PATH|g;"\
"install/celery.service.template" > \
"/etc/systemd/system/celery-"$INSTANCE".service"
+ sed -s "s|example_project|$INSTANCE|g;" \
+ $INSTANCE"/celery_app.py.sample" > \
+ $INSTANCE"/celery_app.py"
systemctl daemon-reload
fi
@@ -285,6 +288,7 @@ EOF
ln -s __init__.py.celery.sample __init__.py
else
ln -s __init__.py.base.sample __init__.py
+
fi
cd -