summaryrefslogtreecommitdiff
path: root/packaging/RPMS
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
commitbaeb3e114e6a4ba617c8fb2339f7f3bb3b560bcb (patch)
treebef2d3114778911050accfda94de73a187b5697a /packaging/RPMS
parentcb202412c138fb5a2af479af575f159ab14e41cc (diff)
downloadrabbitmq-server-baeb3e114e6a4ba617c8fb2339f7f3bb3b560bcb.tar.gz
Templatize rabbitmq-script-wrapper so that it works under OSX
Diffstat (limited to 'packaging/RPMS')
-rw-r--r--packaging/RPMS/Fedora/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/RPMS/Fedora/Makefile b/packaging/RPMS/Fedora/Makefile
index fa2844fd..bc5b58ca 100644
--- a/packaging/RPMS/Fedora/Makefile
+++ b/packaging/RPMS/Fedora/Makefile
@@ -34,6 +34,8 @@ prepare:
-e 's|^DEFAULTS_FILE=.*$$|DEFAULTS_FILE=/etc/sysconfig/rabbitmq|' \
-e 's|^LOCK_FILE=.*$$|LOCK_FILE=/var/lock/subsys/$$NAME|' \
SOURCES/rabbitmq-server.init
+ sed -i -e 's|@SU_RABBITMQ_SH_C@|su rabbitmq -s /bin/sh -c|' \
+ SOURCES/rabbitmq-script-wrapper
cp rabbitmq-server.logrotate SOURCES/rabbitmq-server.logrotate
server: prepare