summaryrefslogtreecommitdiff
path: root/packaging/common
diff options
context:
space:
mode:
authorDavid Wragg <dpw@lshift.net>2010-01-22 11:30:48 +0000
committerDavid Wragg <dpw@lshift.net>2010-01-22 11:30:48 +0000
commitbcec81d0c64799a7fdc6c24109bf8fc14a4c93b8 (patch)
treebef2d3114778911050accfda94de73a187b5697a /packaging/common
parent617a495bbc2030644a04a7c58ba050109f38d48f (diff)
downloadrabbitmq-server-git-bcec81d0c64799a7fdc6c24109bf8fc14a4c93b8.tar.gz
Templatize rabbitmq-script-wrapper so that it works under OSX
Diffstat (limited to 'packaging/common')
-rw-r--r--packaging/common/rabbitmq-script-wrapper2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/common/rabbitmq-script-wrapper b/packaging/common/rabbitmq-script-wrapper
index dfb714f16e..f66f8e59af 100644
--- a/packaging/common/rabbitmq-script-wrapper
+++ b/packaging/common/rabbitmq-script-wrapper
@@ -45,7 +45,7 @@ cd /var/lib/rabbitmq
SCRIPT=`basename $0`
if [ `id -u` = 0 ] ; then
- su rabbitmq -s /bin/sh -c "/usr/lib/rabbitmq/bin/${SCRIPT} ${CMDLINE}"
+ @SU_RABBITMQ_SH_C@ "/usr/lib/rabbitmq/bin/${SCRIPT} ${CMDLINE}"
elif [ `id -u` = `id -u rabbitmq` ] ; then
/usr/lib/rabbitmq/bin/${SCRIPT} "$@"
else