summaryrefslogtreecommitdiff
path: root/packaging/debs
diff options
context:
space:
mode:
authorSteve Powell <steve@rabbitmq.com>2012-03-05 11:01:55 +0000
committerSteve Powell <steve@rabbitmq.com>2012-03-05 11:01:55 +0000
commitb6d1a50efa00f523083b4fbe030716abc7163e18 (patch)
tree0d4a935449d2cee5d744f11ea3d9bc73dbf95a56 /packaging/debs
parentac114c61b2bb8585c058a048adf2ae1ffc6a37ab (diff)
downloadrabbitmq-server-git-b6d1a50efa00f523083b4fbe030716abc7163e18.tar.gz
Modify packaging for Debian to use start-stop-daemon
Diffstat (limited to 'packaging/debs')
-rw-r--r--packaging/debs/Debian/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/debs/Debian/Makefile b/packaging/debs/Debian/Makefile
index 79e9c1dd72..2a738f6e7a 100644
--- a/packaging/debs/Debian/Makefile
+++ b/packaging/debs/Debian/Makefile
@@ -26,6 +26,7 @@ package: clean
# runlevel 2 should start network services.
sed -i \
-e 's|^LOCK_FILE=.*$$|LOCK_FILE=|' \
+ -e 's|^START_PROG=.*$$|START_PROG="start-stop-daemon -v --chuid rabbitmq --start --exec"|' \
-e 's|^\(# Default-Start:\).*$$|\1 2 3 4 5|' \
-e 's|^\(# Default-Stop:\).*$$|\1 0 1 6|' \
$(UNPACKED_DIR)/debian/rabbitmq-server.init