mirror of https://github.com/zulip/zulip.git
Move bin/get-django-setting to scripts/.
This commit is contained in:
parent
a315849a9e
commit
6e1872987d
|
@ -37,7 +37,7 @@ subprocess.check_call(["supervisorctl", "start", "zulip-tornado zulip-django zul
|
|||
logging.info("Starting workers")
|
||||
subprocess.check_call(["supervisorctl", "start", "zulip-workers:*"])
|
||||
|
||||
using_sso = subprocess.check_output(['./bin/get-django-setting', 'USING_APACHE_SSO'])
|
||||
using_sso = subprocess.check_output(['./scripts/get-django-setting', 'USING_APACHE_SSO'])
|
||||
if using_sso.strip() == 'True':
|
||||
logging.info("Restarting Apache WSGI process...")
|
||||
subprocess.check_call(["pkill", "-f", "apache2", "-u", "zulip"])
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
set -e
|
||||
set -x
|
||||
|
||||
RABBITMQ_USERNAME=$("$(dirname "$0")/../../bin/get-django-setting" RABBITMQ_USERNAME)
|
||||
RABBITMQ_PASSWORD=$("$(dirname "$0")/../../bin/get-django-setting" RABBITMQ_PASSWORD)
|
||||
RABBITMQ_USERNAME=$("$(dirname "$0")/../get-django-setting" RABBITMQ_USERNAME)
|
||||
RABBITMQ_PASSWORD=$("$(dirname "$0")/../get-django-setting" RABBITMQ_PASSWORD)
|
||||
sudo rabbitmqctl delete_user "$RABBITMQ_USERNAME" || true
|
||||
sudo rabbitmqctl delete_user zulip || true
|
||||
sudo rabbitmqctl delete_user guest || true
|
||||
|
|
|
@ -22,7 +22,7 @@ VAGRANTUSERNAME=$(whoami)
|
|||
|
||||
if [[ $# == 0 ]]; then
|
||||
USERNAME=zulip
|
||||
PASSWORD=$("$(dirname "$0")/../bin/get-django-setting" LOCAL_DATABASE_PASSWORD)
|
||||
PASSWORD=$("$(dirname "$0")/../scripts/get-django-setting" LOCAL_DATABASE_PASSWORD)
|
||||
DBNAME=zulip
|
||||
SEARCH_PATH="$USERNAME",public
|
||||
elif [[ $# == 4 ]]; then
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
set -x
|
||||
set -e
|
||||
|
||||
"$(dirname "$0")/postgres-init-dev-db" zulip_test "$("$(dirname "$0")/../bin/get-django-setting" LOCAL_DATABASE_PASSWORD)" zulip_test zulip,public
|
||||
"$(dirname "$0")/postgres-init-dev-db" zulip_test "$("$(dirname "$0")/../scripts/get-django-setting" LOCAL_DATABASE_PASSWORD)" zulip_test zulip,public
|
||||
|
|
Loading…
Reference in New Issue