slackbuilds_ponce/system/apache-activemq/rc.activemq

22 lines
280 B
Text
Raw Normal View History

#!/bin/sh
# Start/stop/restart Apache ActiveMQ daemon
DAEMON="/usr/share/activemq/bin/activemq"
case "$1" in
'start')
${DAEMON} start
;;
'stop')
${DAEMON} stop
;;
'restart')
${DAEMON} stop
sleep 1
${DAEMON} start
;;
*)
echo "usage $0 start|stop|restart"
esac