mirror of https://github.com/zulip/zulip.git
43d63bd5a1
This is required in order to lock down the RabbitMQ port to only listen on localhost. If the nodename is `rabbit@hostname`, in most circumstances the hostname will resolve to an external IP, which the rabbitmq port will not be bound to. Installs which used `rabbit@hostname`, due to RabbitMQ having been installed before Zulip, would not have functioned if the host or RabbitMQ service was restarted, as the localhost restrictions in the RabbitMQ configuration would have made rabbitmqctl (and Zulip cron jobs that call it) unable to find the rabbitmq server. The previous commit ensures that configure-rabbitmq is re-run after the nodename has changed. However, rabbitmq needs to be stopped before `rabbitmq-env.conf` is changed; we use an `onlyif` on an `exec` to print the warning about the node change, and let the subsequent config change and notify of the service and configure-rabbitmq to complete the re-configuration. |
||
---|---|---|
.. | ||
__init__.py | ||
build-pgroonga | ||
check_rabbitmq_queue.py | ||
clean_emoji_cache.py | ||
clean_node_cache.py | ||
clean_unused_caches.py | ||
clean_venv_cache.py | ||
clean_yarn_cache.py | ||
create-production-venv | ||
email-mirror-postfix | ||
fix-standalone-certbot | ||
hash_reqs.py | ||
install | ||
install-node | ||
install-yarn | ||
node_cache.py | ||
puppet_cache.py | ||
pythonrc.py | ||
queue_workers.py | ||
setup-apt-repo | ||
setup-yum-repo | ||
setup_path.py | ||
setup_venv.py | ||
sharding.py | ||
unpack-zulip | ||
upgrade-zulip | ||
upgrade-zulip-from-git | ||
upgrade-zulip-stage-2 | ||
warn-rabbitmq-nodename-change | ||
zulip_tools.py |