summaryrefslogtreecommitdiff
path: root/install/ishtar-prepare-instance
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-03-19 13:44:53 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-06-17 13:21:27 +0200
commit7045eb8c2c3ca96166472feaca0c28e0b252d441 (patch)
tree5560029b47a9eb61c1a80454ff0659e4fd6a6227 /install/ishtar-prepare-instance
parent3fd0b846132fd25677fe14f92f946a71db7518c8 (diff)
downloadIshtar-7045eb8c2c3ca96166472feaca0c28e0b252d441.tar.bz2
Ishtar-7045eb8c2c3ca96166472feaca0c28e0b252d441.zip
Prepare instance script: fix celery systemd service
Diffstat (limited to 'install/ishtar-prepare-instance')
-rwxr-xr-xinstall/ishtar-prepare-instance6
1 files changed, 3 insertions, 3 deletions
diff --git a/install/ishtar-prepare-instance b/install/ishtar-prepare-instance
index 60fd0e39f..c8d944dc9 100755
--- a/install/ishtar-prepare-instance
+++ b/install/ishtar-prepare-instance
@@ -276,10 +276,10 @@ EOF
sed -s "s|#APP_NAME#|$INSTANCE|g;\
s|#INSTALL_PATH#|$INSTALL_PATH|g;"\
"install/celery.service.template" > \
- "/etc/default/celeryd-"$INSTANCE
+ "/etc/systemd/system/celery-"$INSTANCE".service"
systemctl daemon-reload
- systemctl enable celeryd-$INSTANCE
- systemctl start celeryd-$INSTANCE
+ systemctl enable celery-$INSTANCE
+ systemctl start celery-$INSTANCE
fi
### __init__.py