diff --git a/tools/get-django-setting b/bin/get-django-setting similarity index 100% rename from tools/get-django-setting rename to bin/get-django-setting diff --git a/scripts/setup/configure-rabbitmq b/scripts/setup/configure-rabbitmq index 42d03025cd..6885fdf7fe 100755 --- a/scripts/setup/configure-rabbitmq +++ b/scripts/setup/configure-rabbitmq @@ -4,6 +4,6 @@ # with a real password rabbitmqctl delete_user guest -rabbitmqctl add_user zulip $($(dirname $0)/../../tools/get-django-setting RABBITMQ_PASSWORD) +rabbitmqctl add_user zulip $($(dirname $0)/../../bin/get-django-setting RABBITMQ_PASSWORD) rabbitmqctl set_user_tags zulip administrator rabbitmqctl set_permissions -p / zulip '.*' '.*' '.*' diff --git a/tools/postgres-init-test-db b/tools/postgres-init-test-db index f76dd86af6..80e0d8b660 100755 --- a/tools/postgres-init-test-db +++ b/tools/postgres-init-test-db @@ -1,3 +1,3 @@ #/bin/sh -xe -$(dirname $0)/../scripts/setup/postgres-init-db zulip_test $($(dirname $0)/get-django-setting LOCAL_DATABASE_PASSWORD) zulip_test zulip,public +$(dirname $0)/../scripts/setup/postgres-init-db zulip_test $($(dirname $0)/../bin/get-django-setting LOCAL_DATABASE_PASSWORD) zulip_test zulip,public