mirror of https://github.com/zulip/zulip.git
scripts: Remove create-zulip-admin.
This was used only by ancient versions of the Docker project.
This commit is contained in:
parent
0e7a5d82b4
commit
8469c7774f
|
@ -1,13 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if { [ "$ZULIP_USER_CREATION_ENABLED" == "True" ] || [ "$ZULIP_USER_CREATION_ENABLED" == "true" ]; } && \
|
||||
{ [ -z "$ZULIP_USER_DOMAIN" ] || \
|
||||
[ -z "$ZULIP_USER_EMAIL" ] || \
|
||||
[ -z "$ZULIP_USER_FULLNAME" ] || \
|
||||
[ -z "$ZULIP_USER_PASS" ]; }; then
|
||||
echo "No zulip user configuration given."
|
||||
exit 1
|
||||
fi
|
||||
set +e
|
||||
sudo -H -u zulip -g zulip /home/zulip/deployments/current/manage.py create_user --this-user-has-accepted-the-tos --realm "$ZULIP_USER_DOMAIN" --password "$ZULIP_USER_PASS" "$ZULIP_USER_EMAIL" "$ZULIP_USER_FULLNAME"
|
||||
sudo -H -u zulip -g zulip /home/zulip/deployments/current/manage.py knight "$ZULIP_USER_EMAIL" -f
|
|
@ -664,7 +664,6 @@ def build_custom_checkers(by_lang):
|
|||
'include_only': set(['scripts/']),
|
||||
'exclude': set([
|
||||
'scripts/lib/install',
|
||||
'scripts/lib/create-zulip-admin',
|
||||
'scripts/setup/terminate-psql-sessions',
|
||||
'scripts/setup/configure-rabbitmq'
|
||||
]), },
|
||||
|
|
Loading…
Reference in New Issue