#!/bin/sh
# description: Starts/stops QueueMetrics' internal Tomcat
#
# All configuration and advanced options are now held in
# /etc/init.d/tomcat6
#

# See how we were called.
case "$1" in
  start)
        /etc/init.d/qm-tomcat6 start
        ;;
  stop)
        /etc/init.d/qm-tomcat6 stop
        ;;
  restart)
        /etc/init.d/qm-tomcat6 stop
	/etc/init.d/qm-tomcat6 start       
        ;;
  *)
        echo $"Usage: queuemetrics {start|stop|restart}"
        exit
esac
