码迷,mamicode.com
首页 > 其他好文 > 详细

24.dubbo脚本之server.sh

时间:2016-07-01 23:12:53      阅读:419      评论:0      收藏:0      [点我收藏+]

标签:sh

#!/bin/bash

cd `dirname $0`

if [ "$1" = "start" ]; then

./start.sh

else

if [ "$1" = "stop" ]; then

./stop.sh

else

if [ "$1" = "debug" ]; then

./start.sh debug

else

if [ "$1" = "restart" ]; then

./restart.sh

else

if [ "$1" = "dump" ]; then

./dump.sh

else

echo "ERROR: Please input argument: start or stop or debug or restart or dump"

   exit 1

fi

fi

fi

fi

fi


本文出自 “8159085” 博客,请务必保留此出处http://8169085.blog.51cto.com/8159085/1795002

24.dubbo脚本之server.sh

标签:sh

原文地址:http://8169085.blog.51cto.com/8159085/1795002

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!