diff options
author | Hubert Plociniczak <hubert@lshift.net> | 2009-02-04 01:02:39 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert@lshift.net> | 2009-02-04 01:02:39 +0000 |
commit | 379e9b437720d352ae3171aaa8e2b338bdcd4e46 (patch) | |
tree | 0b6e793eb7d3b0a7a118682ba4cc1f9adb6376f7 /packaging/debs/Debian/debian/rules | |
parent | ce3787ff42a492406b681c52eddc89e588f1111d (diff) | |
download | rabbitmq-server-379e9b437720d352ae3171aaa8e2b338bdcd4e46.tar.gz |
Provide common wrapper script that is used by all commands and requires root permissions to function normally.
Also added PATH variable in init.d and use new wrappers.
Diffstat (limited to 'packaging/debs/Debian/debian/rules')
-rw-r--r-- | packaging/debs/Debian/debian/rules | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packaging/debs/Debian/debian/rules b/packaging/debs/Debian/debian/rules index 908ec481..31904851 100644 --- a/packaging/debs/Debian/debian/rules +++ b/packaging/debs/Debian/debian/rules @@ -14,5 +14,6 @@ DOCDIR=$(DEB_DESTDIR)usr/share/doc/rabbitmq-server/ install/rabbitmq-server:: mkdir -p $(DOCDIR) rm $(RABBIT_LIB)LICENSE* - cp debian/rabbitmqctl_wrapper $(DEB_DESTDIR)usr/sbin/rabbitmqctl - chmod a+x $(DEB_DESTDIR)usr/sbin/rabbitmqctl + for script in rabbitmqctl rabbitmq-server rabbitmq-multi; do \ + install -p -D -m 0755 debian/rabbitmq-script-wrapper $(DEB_DESTDIR)usr/sbin/$$script; \ + done |