diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-02-18 12:31:32 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-07-01 18:02:28 +0200 |
commit | 316c81fa5da948744da8e0c6c5213eddbe25bf12 (patch) | |
tree | 29b115c8ee4db58e8035e162d36cd77bb1282c60 /install/ishtar-delete-instance | |
parent | 43d8eca14c5974b4939dbf1b4e06aab0e5f613f0 (diff) | |
download | Ishtar-316c81fa5da948744da8e0c6c5213eddbe25bf12.tar.bz2 Ishtar-316c81fa5da948744da8e0c6c5213eddbe25bf12.zip |
Instance management scripts: fix evaluation of USE_*
Diffstat (limited to 'install/ishtar-delete-instance')
-rwxr-xr-x | install/ishtar-delete-instance | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/ishtar-delete-instance b/install/ishtar-delete-instance index c77ffaa34..a8b68b849 100755 --- a/install/ishtar-delete-instance +++ b/install/ishtar-delete-instance @@ -93,7 +93,7 @@ do_delete_instance() { dropuser "$DB_NAME" EOF - if [ -v $USE_CELERY ]; then + if [ $USE_CELERY = 'yes' ]; then systemctl disable celery-$INSTANCE systemctl stop celery-$INSTANCE /usr/sbin/rabbitmqctl delete_vhost /ishtar$INSTANCE |