summaryrefslogtreecommitdiff
path: root/packaging/common
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
commitd36fa2d13c9f635700c52961f94e6b2ad9110b3d (patch)
tree46e878d08acb05e7e751c36c9a2ebe22285d4431 /packaging/common
parentf23ae48395675fc51bf914a4ae409d770a42d1f2 (diff)
downloadrabbitmq-server-git-d36fa2d13c9f635700c52961f94e6b2ad9110b3d.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/common')
-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 39d239835c..5a43be5ddc 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