Explorar el Código

修改启动shell脚本

xiewenjie hace 3 años
padre
commit
023491218f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      startJar.sh

+ 2 - 2
startJar.sh

@@ -80,8 +80,8 @@ status(){
 
 # 重启命令其实就是先执行关闭命令 再执行重启命令
 restart(){
-    stop
-    start
+    stop $2
+    start $2
 }