shop-back-end/agileboot-api/scripts/start.sh

9 lines
242 B
Bash
Raw Normal View History

2025-03-08 08:21:27 +08:00
#!/bin/sh
AppName=agileboot-api.jar
APP_HOME=$(cd $(dirname $0); pwd)
JAR_PATH=$APP_HOME/lib/$AppName
nohup java -Dname=$AppName -Duser.timezone=Asia/Shanghai -Xms512m -Xmx1024m \
-jar $JAR_PATH > /dev/null 2>&1 &
echo "Application started"