summaryrefslogtreecommitdiff
path: root/packaging/common
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2011-10-25 15:45:13 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2011-10-25 15:45:13 +0100
commit95a7ba33b5177763a52d74380fe80b807ee03191 (patch)
treecbfd119a6701ec88beea6a5b6cf5f2c16dd49446 /packaging/common
parentf0bbbe6f7508166210563ba405967ab397b9d899 (diff)
downloadrabbitmq-server-95a7ba33b5177763a52d74380fe80b807ee03191.tar.gz
rebase on default
Diffstat (limited to 'packaging/common')
-rw-r--r--packaging/common/rabbitmq-server.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/common/rabbitmq-server.init b/packaging/common/rabbitmq-server.init
index 15fd5d5b..450cac15 100644
--- a/packaging/common/rabbitmq-server.init
+++ b/packaging/common/rabbitmq-server.init
@@ -81,7 +81,7 @@ stop_rabbitmq () {
status_rabbitmq quiet
if [ $RETVAL = 0 ] ; then
set +e
- $CONTROL stop > ${INIT_LOG_DIR}/shutdown_log 2> ${INIT_LOG_DIR}/shutdown_err
+ $CONTROL stop ${PID_FILE} > ${INIT_LOG_DIR}/shutdown_log 2> ${INIT_LOG_DIR}/shutdown_err
RETVAL=$?
set -e
if [ $RETVAL = 0 ] ; then