瀏覽代碼

调整版本

pruple_boy 2 年之前
父節點
當前提交
91c81f343c

+ 0 - 35
mjava-cloudpure/target/test-classes/server.sh

@@ -1,35 +0,0 @@
-#!/bin/bash
-appname='mjava-cloudpure'
-if [ "$1" == "dev" ]; then
-  java -Xms256m -Xmx256m -jar $appname.jar --spring.profiles.active=dev
-else
-  if [ "$1" == "start" ]; then
-    nohup java -Xms256m -Xmx256m -jar $appname.jar &
-    echo "server prod is starting"
-  else
-    if [ "$1" == "test" ]; then
-      nohup java -Xms256m -Xmx256m -jar $appname.jar --spring.profiles.active=test &
-      echo "server test is starting"
-    else
-      if [ "$1" == "stop" ]; then
-        PID=$(ps -ef | grep $appname.jar | grep -v grep | awk '{ print $2 }')
-        if [ -z "$PID" ]; then
-          echo "server is already stopped"
-        else
-          echo kill $PID
-          kill $PID
-        fi
-      else
-        if [ "$1" == "status" ]; then
-          PID=$(ps -ef | grep $appname.jar | grep -v grep | awk '{ print $2 }')
-          if [ -z "$PID" ]; then
-            echo "server is stopped"
-          else
-            echo "server is running"
-            echo $PID
-          fi
-        fi
-      fi
-    fi
-  fi
-fi

+ 0 - 38
mjava-guyuan/target/classes/META-INF/spring-configuration-metadata.json

@@ -1,38 +0,0 @@
-{
-  "groups": [
-    {
-      "name": "tencent",
-      "type": "com.malk.guyuan.server.tencent.TXYConf",
-      "sourceType": "com.malk.guyuan.server.tencent.TXYConf"
-    }
-  ],
-  "properties": [
-    {
-      "name": "tencent.a-p-p-i-d",
-      "type": "java.lang.String",
-      "sourceType": "com.malk.guyuan.server.tencent.TXYConf"
-    },
-    {
-      "name": "tencent.region",
-      "type": "java.lang.String",
-      "sourceType": "com.malk.guyuan.server.tencent.TXYConf"
-    },
-    {
-      "name": "tencent.secret-id",
-      "type": "java.lang.String",
-      "sourceType": "com.malk.guyuan.server.tencent.TXYConf"
-    },
-    {
-      "name": "tencent.secret-key",
-      "type": "java.lang.String",
-      "sourceType": "com.malk.guyuan.server.tencent.TXYConf"
-    },
-    {
-      "name": "tencent.t-y-p-e-i-n-v-o-i-c-e",
-      "type": "java.util.Map<java.lang.String,java.lang.String>",
-      "description": "票据类型",
-      "sourceType": "com.malk.guyuan.server.tencent.TXYConf"
-    }
-  ],
-  "hints": []
-}

+ 0 - 6
mjava/target/test-classes/search.sh

@@ -1,6 +0,0 @@
-#!/bin/bash
-
-cd /home/mc/mjava/logs
-tail -n 20 error.log | grep --color -3 $1
-
-#./search.sh test

+ 0 - 37
mjava/target/test-classes/server.sh

@@ -1,37 +0,0 @@
-#!/bin/bash
-
-appname='mjava'
-
-if [ "$1" == "dev" ]; then
-  java -Xms256m -Xmx256m -jar $appname.jar --spring.profiles.active=dev
-else
-  if [ "$1" == "start" ]; then
-    nohup java -Xms256m -Xmx256m -jar $appname.jar &
-    echo "server prod is starting"
-  else
-    if [ "$1" == "test" ]; then
-      nohup java -Xms256m -Xmx256m -jar $appname.jar --spring.profiles.active=test &
-      echo "server test is starting"
-    else
-      if [ "$1" == "stop" ]; then
-        PID=$(ps -ef | grep $appname.jar | grep -v grep | awk '{ print $2 }')
-        if [ -z "$PID" ]; then
-          echo "server is already stopped"
-        else
-          echo kill $PID
-          kill $PID
-        fi
-      else
-        if [ "$1" == "status" ]; then
-          PID=$(ps -ef | grep $appname.jar | grep -v grep | awk '{ print $2 }')
-          if [ -z "$PID" ]; then
-            echo "server is stopped"
-          else
-            echo "server is running"
-            echo $PID
-          fi
-        fi
-      fi
-    fi
-  fi
-fi