diff options
Diffstat (limited to 'packaging')
| -rw-r--r-- | packaging/generic-unix/Makefile | 3 | ||||
| -rw-r--r-- | packaging/generic-unix/rabbitmq-sys | 32 |
2 files changed, 35 insertions, 0 deletions
diff --git a/packaging/generic-unix/Makefile b/packaging/generic-unix/Makefile index b5c342aad7..dac28b8440 100644 --- a/packaging/generic-unix/Makefile +++ b/packaging/generic-unix/Makefile @@ -12,6 +12,9 @@ dist: MAN_DIR=`pwd`/$(TARGET_DIR)/share/man \ install + cp -f rabbitmq-sys $(TARGET_DIR)/sbin + chmod 0755 $(TARGET_DIR)/sbin/rabbitmq-sys + tar -zcf $(TARGET_TARBALL).tar.gz $(TARGET_DIR) rm -rf $(SOURCE_DIR) $(TARGET_DIR) diff --git a/packaging/generic-unix/rabbitmq-sys b/packaging/generic-unix/rabbitmq-sys new file mode 100644 index 0000000000..efd2076674 --- /dev/null +++ b/packaging/generic-unix/rabbitmq-sys @@ -0,0 +1,32 @@ +#!/bin/sh +## The contents of this file are subject to the Mozilla Public License +## Version 1.1 (the "License"); you may not use this file except in +## compliance with the License. You may obtain a copy of the License +## at http://www.mozilla.org/MPL/ +## +## Software distributed under the License is distributed on an "AS IS" +## basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See +## the License for the specific language governing rights and +## limitations under the License. +## +## The Original Code is RabbitMQ. +## +## The Initial Developer of the Original Code is VMware, Inc. +## Copyright (c) 2012 VMware, Inc. All rights reserved. +## + +### generic-unix ### + +## Set system default values +SERVER_ERL_ARGS="+K true +A30 +P 1048576 \ +-kernel inet_default_connect_options [{nodelay,true}]" + +CONFIG_FILE=${RABBITMQ_HOME}/rabbitmq + +LOG_BASE=${RABBITMQ_HOME}/log + +MNESIA_BASE=${RABBITMQ_HOME}/mnesia + +PLUGINS_DIR=${RABBITMQ_HOME}/plugins + +ENABLED_PLUGINS_FILE=${RABBITMQ_HOME}/enabled_plugins |
