Repository: activemq
Updated Branches:
  refs/heads/master caac4f784 -> 179d7c058


AMQ-5977: Add LSB headers to init script

Add LSB headers to init script to fix problems when setting up ActiveMQ
as a daemon with chkconfig on RHEL and clones.

Signed-off-by: Gregor Zurowski <[email protected]>

Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/b7a57876
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/b7a57876
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/b7a57876

Branch: refs/heads/master
Commit: b7a57876102911a2a5cc406e3f85f80b28e9e16c
Parents: 86c826c
Author: Gregor Zurowski <[email protected]>
Authored: Wed Sep 23 08:31:00 2015 +0200
Committer: Gregor Zurowski <[email protected]>
Committed: Wed Sep 23 08:31:00 2015 +0200

----------------------------------------------------------------------
 assembly/src/release/bin/activemq | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/b7a57876/assembly/src/release/bin/activemq
----------------------------------------------------------------------
diff --git a/assembly/src/release/bin/activemq 
b/assembly/src/release/bin/activemq
index 08cb7bd..e7904a1 100755
--- a/assembly/src/release/bin/activemq
+++ b/assembly/src/release/bin/activemq
@@ -1,4 +1,15 @@
 #!/bin/sh
+
+### BEGIN INIT INFO
+# Provides:          activemq
+# Required-Start:    $remote_fs $network $syslog
+# Required-Stop:     $remote_fs $network $syslog
+# Default-Start:     3 5
+# Default-Stop:      0 1 6
+# Short-Description: Starts ActiveMQ
+# Description:       Starts ActiveMQ Message Broker Server
+### END INIT INFO
+
 # ------------------------------------------------------------------------
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with

Reply via email to