diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2011-03-05 17:57:27 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2011-03-05 17:57:27 +0000 |
| commit | 3fd05897f3a1fa4a98d5d046b2dcc297667e65d9 (patch) | |
| tree | c945d411b3a11a03f90b05d91599dfd1f3239803 /packaging/debs | |
| parent | 6b4b2718bac84ae918ae311b9c9f9ab9334a70ea (diff) | |
| parent | f8ade16bfce1906d0c318a04875364673604a11d (diff) | |
| download | rabbitmq-server-git-3fd05897f3a1fa4a98d5d046b2dcc297667e65d9.tar.gz | |
merge bug23875 into default
Diffstat (limited to 'packaging/debs')
| -rw-r--r-- | packaging/debs/Debian/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/debs/Debian/Makefile b/packaging/debs/Debian/Makefile index d937fbb2eb..31979a8e01 100644 --- a/packaging/debs/Debian/Makefile +++ b/packaging/debs/Debian/Makefile @@ -22,8 +22,12 @@ package: clean tar -zxvf $(DEBIAN_ORIG_TARBALL) cp -r debian $(UNPACKED_DIR) cp $(COMMON_DIR)/* $(UNPACKED_DIR)/debian/ +# Debian and descendants differ from most other distros in that +# runlevel 2 should start network services. sed -i \ -e 's|^LOCK_FILE=.*$$|LOCK_FILE=|' \ + -e 's|^\(# Default-Start:\).*$$|\1 2 3 4 5|' \ + -e 's|^\(# Default-Stop:\).*$$|\1 0 1 6|' \ $(UNPACKED_DIR)/debian/rabbitmq-server.init sed -i -e 's|@SU_RABBITMQ_SH_C@|su rabbitmq -s /bin/sh -c|' \ $(UNPACKED_DIR)/debian/rabbitmq-script-wrapper |
