summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorDavid Wragg <david@rabbitmq.com>2011-02-19 23:34:39 +0000
committerDavid Wragg <david@rabbitmq.com>2011-02-19 23:34:39 +0000
commit4584e37187aba68d53597605b71858350c2e6efa (patch)
tree46e878d08acb05e7e751c36c9a2ebe22285d4431 /packaging
parent1f3f3b0c6c9d5aa181b3bb9306e383b22ea1d9f1 (diff)
downloadrabbitmq-server-4584e37187aba68d53597605b71858350c2e6efa.tar.gz
Include LSB Default-Start and Default-Stop lines in init script
Runlevel uses vary between distros; the runlevels given here correspond to the most common Linux conventions. In particular, runlevel 2 is in the stop list, because in most distros (Debian being a notable exception) it means that network services should not be started.
Diffstat (limited to 'packaging')
-rw-r--r--packaging/common/rabbitmq-server.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/common/rabbitmq-server.init b/packaging/common/rabbitmq-server.init
index 39d23983..5a43be5d 100644
--- a/packaging/common/rabbitmq-server.init
+++ b/packaging/common/rabbitmq-server.init
@@ -10,8 +10,8 @@
# Provides: rabbitmq-server
# Required-Start: $remote_fs $network
# Required-Stop: $remote_fs $network
-# Default-Start:
-# Default-Stop:
+# Default-Start: 3 4 5
+# Default-Stop: 0 1 2 6
# Description: RabbitMQ broker
# Short-Description: Enable AMQP service provided by RabbitMQ broker
### END INIT INFO