You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gm...@apache.org on 2017/11/01 18:56:29 UTC

qpid-dispatch git commit: DISPATCH-864 - Additional fix. Move etc/qdrouterd to etc/fedora/qdrouterd

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 92d54a0dd -> 03b09eb1e


DISPATCH-864 - Additional fix. Move etc/qdrouterd to etc/fedora/qdrouterd


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/03b09eb1
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/03b09eb1
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/03b09eb1

Branch: refs/heads/master
Commit: 03b09eb1e05e1f3b9744ebb27aa7a6b478412412
Parents: 92d54a0
Author: Ganesh Murthy <gm...@redhat.com>
Authored: Wed Nov 1 14:56:05 2017 -0400
Committer: Ganesh Murthy <gm...@redhat.com>
Committed: Wed Nov 1 14:56:05 2017 -0400

----------------------------------------------------------------------
 etc/fedora/qdrouterd | 106 ++++++++++++++++++++++++++++++++++++++++++++++
 etc/qdrouterd        | 106 ----------------------------------------------
 2 files changed, 106 insertions(+), 106 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/03b09eb1/etc/fedora/qdrouterd
----------------------------------------------------------------------
diff --git a/etc/fedora/qdrouterd b/etc/fedora/qdrouterd
new file mode 100644
index 0000000..d7d568a
--- /dev/null
+++ b/etc/fedora/qdrouterd
@@ -0,0 +1,106 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License
+#
+# /etc/rc.d/init.d/qdrouterd
+#
+# Startup script for the Qpid Router.
+#
+# <tags -- see below for tag definitions. *Every line* from the top
+# of the file to the end of the tags section must begin with a #
+# character. After the tags section, there should be a blank line.
+# This keeps normal comments in the rest of the file from being
+# mistaken for tags, should they happen to fit the pattern.>
+
+# Source function library.
+. /etc/rc.d/init.d/functions
+
+### BEGIN INIT INFO
+# Provides: qdrouterd
+# Required-Start: $local_fs
+# Required-Stop: $local_fs
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: start or stop qdrouterd
+# Description: Qpid Router is an intermediary for AMQP messaging.
+### END INIT INFO
+
+prog=qdrouterd
+exe=/usr/sbin/$prog
+
+# Configurable variables, can be set in /etc/sysconfig/$prog
+USER=qdrouterd
+CONFIG=/etc/qpid-dispatch/qdrouterd.conf
+RUNDIR=/var/run/qpid-dispatch
+
+if [ -f /etc/sysconfig/$prog ]; then
+    . /etc/sysconfig/$prog
+fi
+
+pidfile=$RUNDIR/$prog.pid
+
+# ensure binary is present before continuing
+if [[ !(-x $exe) ]]; then
+    echo "$exe not found or is not executable"
+    exit 5			# Not installed
+fi
+
+start() {
+    echo -n "Starting qdrouterd services: "
+    daemon --check $prog --user $USER --pidfile $pidfile $exe --daemon --config $CONFIG --pidfile $pidfile
+    echo
+    RETVAL=$?
+}
+
+stop() {
+    echo -n "Shutting down qdrouterd services: "
+    killproc -p $pidfile $prog
+    echo
+}
+
+restart() {
+    stop
+    start
+}
+
+case "$1" in
+    start|stop|restart)
+        $1
+        ;;
+
+    status)
+        status $prog
+        RETVAL=$?
+        ;;
+
+    try-restart|condrestart)
+        status $prog
+        if [ "$?" -eq "0" ]; then restart; fi
+        ;;
+
+    reload|force-reload)
+        exit 3			# Not implemented
+        ;;
+
+    *)
+        echo "Usage: $0 {start|stop|status|restart|reload|try-restart|condrestart|force-reload}"
+        exit 2			# Invalid arguments
+        ;;
+esac
+
+exit $RETVAL

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/03b09eb1/etc/qdrouterd
----------------------------------------------------------------------
diff --git a/etc/qdrouterd b/etc/qdrouterd
deleted file mode 100644
index d7d568a..0000000
--- a/etc/qdrouterd
+++ /dev/null
@@ -1,106 +0,0 @@
-#!/bin/bash
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License
-#
-# /etc/rc.d/init.d/qdrouterd
-#
-# Startup script for the Qpid Router.
-#
-# <tags -- see below for tag definitions. *Every line* from the top
-# of the file to the end of the tags section must begin with a #
-# character. After the tags section, there should be a blank line.
-# This keeps normal comments in the rest of the file from being
-# mistaken for tags, should they happen to fit the pattern.>
-
-# Source function library.
-. /etc/rc.d/init.d/functions
-
-### BEGIN INIT INFO
-# Provides: qdrouterd
-# Required-Start: $local_fs
-# Required-Stop: $local_fs
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
-# Short-Description: start or stop qdrouterd
-# Description: Qpid Router is an intermediary for AMQP messaging.
-### END INIT INFO
-
-prog=qdrouterd
-exe=/usr/sbin/$prog
-
-# Configurable variables, can be set in /etc/sysconfig/$prog
-USER=qdrouterd
-CONFIG=/etc/qpid-dispatch/qdrouterd.conf
-RUNDIR=/var/run/qpid-dispatch
-
-if [ -f /etc/sysconfig/$prog ]; then
-    . /etc/sysconfig/$prog
-fi
-
-pidfile=$RUNDIR/$prog.pid
-
-# ensure binary is present before continuing
-if [[ !(-x $exe) ]]; then
-    echo "$exe not found or is not executable"
-    exit 5			# Not installed
-fi
-
-start() {
-    echo -n "Starting qdrouterd services: "
-    daemon --check $prog --user $USER --pidfile $pidfile $exe --daemon --config $CONFIG --pidfile $pidfile
-    echo
-    RETVAL=$?
-}
-
-stop() {
-    echo -n "Shutting down qdrouterd services: "
-    killproc -p $pidfile $prog
-    echo
-}
-
-restart() {
-    stop
-    start
-}
-
-case "$1" in
-    start|stop|restart)
-        $1
-        ;;
-
-    status)
-        status $prog
-        RETVAL=$?
-        ;;
-
-    try-restart|condrestart)
-        status $prog
-        if [ "$?" -eq "0" ]; then restart; fi
-        ;;
-
-    reload|force-reload)
-        exit 3			# Not implemented
-        ;;
-
-    *)
-        echo "Usage: $0 {start|stop|status|restart|reload|try-restart|condrestart|force-reload}"
-        exit 2			# Invalid arguments
-        ;;
-esac
-
-exit $RETVAL


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org