From 7045eb8c2c3ca96166472feaca0c28e0b252d441 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 19 Mar 2019 13:44:53 +0100 Subject: Prepare instance script: fix celery systemd service --- install/ishtar-delete-instance | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'install/ishtar-delete-instance') 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 -- cgit v1.2.3