脚本1)启动jetty的脚本

    #!/bin/sh   
    #comments batch run po server     
    alert_1='一键启动Interface接口服务设施';    
    echo $alert_1;    
    function configServer(){   
      cd /;   
      cd /media/witts-java/00812F3865C39867/jetty9.4.5/bin/;   
      ./jetty.sh restart;    
    }   
    excuteRet=$(configServer $1);    
    echo $excuteRet;   
       
原文地址:https://www.cnblogs.com/light-zhang/p/8349992.html