浏览代码

删除临时文件

tianyunperfect 4 年之前
父节点
当前提交
d256106d7f
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      springboot-main/bin/boot.sh

+ 2 - 0
springboot-main/bin/boot.sh

@@ -113,6 +113,8 @@ stop() {
         echo "${APP_NAME} process stop"
       fi
     done
+    # 删除临时文件
+    rm -rf ./tomcat.*
   else
     echo "There is not the process of ${APP_NAME}"
   fi