#!/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 bash <