Created
May 9, 2012 21:30
-
-
Save cgriego/2649046 to your computer and use it in GitHub Desktop.
/etc/init.d/rabbitmq-server fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- fails/rabbitmq-server 2012-04-27 09:38:57.000000000 -0500 | |
+++ works/rabbitmq-server 2012-05-09 16:19:30.000000000 -0500 | |
@@ -61,9 +61,10 @@ | |
RABBITMQ_PID_FILE=$PID_FILE start-stop-daemon --quiet \ | |
--chuid rabbitmq --start --exec $DAEMON \ | |
--pidfile "$RABBITMQ_PID_FILE" \ | |
+ --background \ | |
> "${INIT_LOG_DIR}/startup_log" \ | |
2> "${INIT_LOG_DIR}/startup_err" \ | |
- 0<&- & | |
+ 0<&- | |
$CONTROL wait $PID_FILE >/dev/null 2>&1 | |
RETVAL=$? | |
set -e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment