summaryrefslogtreecommitdiff
path: root/scripts/rabbitmq-server
diff options
context:
space:
mode:
authorPhilip Kuryloski <pkuryloski@pivotal.io>2020-01-24 15:50:51 +0100
committerJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2020-02-10 15:08:34 +0100
commit05fb823426b1aeb78a62c46c44ab8c92e1ac9722 (patch)
tree4dbe814b4a0ed05aa90eeee51ef41a3450593c94 /scripts/rabbitmq-server
parenta922e91b0bffaba9f6b09a0305e62c677b75101e (diff)
downloadrabbitmq-server-git-05fb823426b1aeb78a62c46c44ab8c92e1ac9722.tar.gz
Convert systemd notification to prelaunch steps
Introduce the rabbit_boot_state module, which extracts boot state management out of rabbit_prelaunch. External boot state listeners, such as systemd, now live under the rabbit_boot_state_sup supervisor, which dispatches boot state updates to all of its children as a gen_server cast. Additionally: - the systemd listener now reads the NOTIFY_SOCKET env var directly, rather than through rabbit_env, to avoid the need to wait for the rabbit_env context to initialize - the sytemd listener now only checks for the sd_notify module and NOTIFY_SOCKET env var once upon startup, exiting gracefully when not needed - systemd related log messages are now routed through lager
Diffstat (limited to 'scripts/rabbitmq-server')
0 files changed, 0 insertions, 0 deletions