| 1 | Change the location of the rabbitmq-env.conf file to the current profile |
| 2 | directory. |
| 3 | diff -Nur rabbitmq-server-4.1.1.orig/deps/rabbit/scripts/rabbitmq-defaults rabbitmq-server-4.1.1/deps/rabbit/scripts/rabbitmq-defaults |
| 4 | |
| 5 | |
| 6 | |
| 7 | BOOT_MODULE="rabbit" |
| 8 | |
| 9 | if test -z "$CONF_ENV_FILE" && test -z "$RABBITMQ_CONF_ENV_FILE"; then |
| 10 | - CONF_ENV_FILE=${SYS_PREFIX}/etc/rabbitmq/rabbitmq-env.conf |
| 11 | + CONF_ENV_FILE=/run/current-system/profile/etc/rabbitmq/rabbitmq-env.conf |
| 12 | fi |