diff options
author | Steve Powell <steve@rabbitmq.com> | 2012-02-10 13:30:38 +0000 |
---|---|---|
committer | Steve Powell <steve@rabbitmq.com> | 2012-02-10 13:30:38 +0000 |
commit | d14acccbc0dee71e53803bc41160e92fdd145718 (patch) | |
tree | b4c7321050062c1bce66ba62c2176172ee479cd4 | |
parent | 6796a64f9dd3b8b146b6b55316273ad6a7cecb79 (diff) | |
download | rabbitmq-server-d14acccbc0dee71e53803bc41160e92fdd145718.tar.gz |
OK Now I see which rabbitmq-sys is really updated in macports :-(
-rw-r--r-- | packaging/macports/Portfile.in | 2 | ||||
-rw-r--r-- | scripts/rabbitmq-sys | 11 |
2 files changed, 9 insertions, 4 deletions
diff --git a/packaging/macports/Portfile.in b/packaging/macports/Portfile.in index d490053d..a45987ba 100644 --- a/packaging/macports/Portfile.in +++ b/packaging/macports/Portfile.in @@ -89,6 +89,8 @@ post-destroot { reinplace -E "s:^SYS_PREFIX=\${RABBITMQ_HOME}$:SYS_PREFIX=${prefix}:" \ ${realsbin}/rabbitmq-sys \ + reinplace -E "s:^SYS_PREFIX=$:SYS_PREFIX=${prefix}:" \ + ${realsbin}/rabbitmq-sys \ xinstall -m 555 ${filespath}/rabbitmq-script-wrapper \ ${wrappersbin}/rabbitmq-server diff --git a/scripts/rabbitmq-sys b/scripts/rabbitmq-sys index 45d7cbd7..7f76551c 100644 --- a/scripts/rabbitmq-sys +++ b/scripts/rabbitmq-sys @@ -15,14 +15,17 @@ ## Copyright (c) 2012 VMware, Inc. All rights reserved. ## +### next line potentially updated in package install steps, do not alter +SYS_PREFIX= + ## Set system default values SERVER_ERL_ARGS="+K true +A30 +P 1048576 \ -kernel inet_default_connect_options [{nodelay,true}]" -CONFIG_FILE=/etc/rabbitmq/rabbitmq -LOG_BASE=/var/log/rabbitmq -MNESIA_BASE=/var/lib/rabbitmq/mnesia -ENABLED_PLUGINS_FILE=/etc/rabbitmq/enabled_plugins +CONFIG_FILE=${SYS_PREFIX}/etc/rabbitmq/rabbitmq +LOG_BASE=${SYS_PREFIX}/var/log/rabbitmq +MNESIA_BASE=${SYS_PREFIX}/var/lib/rabbitmq/mnesia +ENABLED_PLUGINS_FILE=${SYS_PREFIX}/etc/rabbitmq/enabled_plugins OLD_CONF_ENV_FILE=${CONFIG_FILE}.conf CONF_ENV_FILE=${CONFIG_FILE}-env.conf |