summaryrefslogtreecommitdiff
path: root/deps/rabbit/scripts/rabbitmq-defaults
diff options
context:
space:
mode:
Diffstat (limited to 'deps/rabbit/scripts/rabbitmq-defaults')
-rwxr-xr-xdeps/rabbit/scripts/rabbitmq-defaults18
1 files changed, 18 insertions, 0 deletions
diff --git a/deps/rabbit/scripts/rabbitmq-defaults b/deps/rabbit/scripts/rabbitmq-defaults
new file mode 100755
index 0000000000..41d72c7da4
--- /dev/null
+++ b/deps/rabbit/scripts/rabbitmq-defaults
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+## This Source Code Form is subject to the terms of the Mozilla Public
+## License, v. 2.0. If a copy of the MPL was not distributed with this
+## file, You can obtain one at https://mozilla.org/MPL/2.0/.
+##
+## Copyright (c) 2012-2020 VMware, Inc. or its affiliates. All rights reserved.
+##
+
+### next line potentially updated in package install steps
+SYS_PREFIX=
+
+CLEAN_BOOT_FILE=start_clean
+SASL_BOOT_FILE=start_sasl
+BOOT_MODULE="rabbit"
+
+if test -z "$CONF_ENV_FILE" && test -z "$RABBITMQ_CONF_ENV_FILE"; then
+ CONF_ENV_FILE=${SYS_PREFIX}/etc/rabbitmq/rabbitmq-env.conf
+fi