1ad242809d
- simplify rabbitmqctl diff, use su to make sure command is run as ${RABBITUSER} - change _rabbitmq shell to /sbin/nologin, - remove redundant setting of PYTHON, - remove unnecessary SUBST_CMD calls, - remove trailing space in MAKE_ENV. discussed with maintainer and ajacoutot@
18 lines
527 B
Plaintext
18 lines
527 B
Plaintext
--- scripts/rabbitmqctl.orig Thu Apr 7 17:55:08 2011
|
|
+++ scripts/rabbitmqctl Thu Apr 28 03:59:37 2011
|
|
@@ -20,7 +20,7 @@
|
|
[ "x" = "x$RABBITMQ_NODENAME" ] && RABBITMQ_NODENAME=${NODENAME}
|
|
[ "x" = "x$RABBITMQ_CTL_ERL_ARGS" ] && RABBITMQ_CTL_ERL_ARGS=${CTL_ERL_ARGS}
|
|
|
|
-exec erl \
|
|
+su -s /bin/sh -l ${RABBITUSER} -c "erl \
|
|
-pa "${RABBITMQ_HOME}/ebin" \
|
|
-noinput \
|
|
-hidden \
|
|
@@ -28,4 +28,4 @@
|
|
-sname rabbitmqctl$$ \
|
|
-s rabbit_control \
|
|
-nodename $RABBITMQ_NODENAME \
|
|
- -extra "$@"
|
|
+ -extra $*"
|