summaryrefslogtreecommitdiff
path: root/install/ishtar-delete-instance
diff options
context:
space:
mode:
Diffstat (limited to 'install/ishtar-delete-instance')
-rwxr-xr-xinstall/ishtar-delete-instance6
1 files changed, 3 insertions, 3 deletions
diff --git a/install/ishtar-delete-instance b/install/ishtar-delete-instance
index 7e4883192..46b0d86c6 100755
--- a/install/ishtar-delete-instance
+++ b/install/ishtar-delete-instance
@@ -87,12 +87,12 @@ do_delete_instance() {
rm -f "$UWSGI_ENABLE_PATH/ishtar-$INSTANCE.ini"
if [ -v USE_CELERY ]; then
- systemctl disable celeryd-$INSTANCE
- systemctl stop celeryd-$INSTANCE
+ systemctl disable celery-$INSTANCE
+ systemctl stop celery-$INSTANCE
/usr/sbin/rabbitmqctl delete_vhost /ishtar$INSTANCE
/usr/sbin/rabbitmqctl delete_user ishtar$INSTANCE
rm "/etc/default/celeryd-"$INSTANCE
- rm "/etc/default/celeryd-"$INSTANCE
+ rm "/etc/systemd/system/celery-"$INSTANCE".service"
systemctl daemon-reload
fi