summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Powell <steve@rabbitmq.com>2012-03-05 11:42:23 +0000
committerSteve Powell <steve@rabbitmq.com>2012-03-05 11:42:23 +0000
commitd3f0303b3321e2d023e46552f48f47cc920d51d2 (patch)
treeba5c500fdb73c1a89caf84b9309b6aaaf0ded7e9
parent1f970ab8027e34c360fe16ad9b73d81a68454c63 (diff)
downloadrabbitmq-server-d3f0303b3321e2d023e46552f48f47cc920d51d2.tar.gz
Reduce changes and preserve atomicity of redirection files
-rw-r--r--packaging/common/rabbitmq-server.init5
1 files changed, 3 insertions, 2 deletions
diff --git a/packaging/common/rabbitmq-server.init b/packaging/common/rabbitmq-server.init
index 2347de7b..c942f8e3 100644
--- a/packaging/common/rabbitmq-server.init
+++ b/packaging/common/rabbitmq-server.init
@@ -58,8 +58,9 @@ start_rabbitmq () {
ensure_pid_dir
set +e
RABBITMQ_PID_FILE=$PID_FILE $START_PROG $DAEMON \
- > ${INIT_LOG_DIR}/startup_log \
- 2> ${INIT_LOG_DIR}/startup_err 0<&- &
+ > "${INIT_LOG_DIR}/startup_log" \
+ 2> "${INIT_LOG_DIR}/startup_err" \
+ 0<&- &
$CONTROL wait $PID_FILE >/dev/null 2>&1
RETVAL=$?
set -e