--- deps/rabbit/scripts/rabbitmq-defaults.orig 2021-06-24 16:41:31 UTC +++ deps/rabbit/scripts/rabbitmq-defaults @@ -6,7 +6,13 @@ ## Copyright (c) 2007-2021 VMware, Inc. or its affiliates. All rights reserved. ### next line potentially updated in package install steps -SYS_PREFIX= +SYS_PREFIX=LOCALBASE +# https://www.rabbitmq.com/relocate.html#unix +export PATH=LOCALBASE/lib/ERLANG_LIB/bin:$PATH +export RABBITMQ_MNESIA_BASE=/var/db/rabbitmq/mnesia +export RABBITMQ_LOG_BASE=/var/log/rabbitmq +# ensure VM and Elixir scripts are running under the same locale +export LANG=en_US.UTF-8 CLEAN_BOOT_FILE=start_clean SASL_BOOT_FILE=start_sasl