activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mschoech...@apache.org
Subject [1/2] activemq git commit: AMQ-5977: Add LSB headers to init script
Date Fri, 25 Sep 2015 06:19:54 GMT
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 <gregor@zurowski.org>

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 <gregor@zurowski.org>
Authored: Wed Sep 23 08:31:00 2015 +0200
Committer: Gregor Zurowski <gregor@zurowski.org>
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


Mime
View raw message