Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 880 Bytes

File metadata and controls

33 lines (23 loc) · 880 Bytes

JavaApplicationServiceManager-JASM

Edit these variables at the top of the script:

  • APP_NAME="bioMedical" # Your application name
  • JAR_FILE="/path/to/your/application.jar" # Path to JAR file
  • JAVA_OPTS="-Xms512m -Xmx1024m -server" # Java options
  • WORK_DIR="/path/to/workdir" # Working directory
  • MAX_WAIT=30 # Seconds to wait for graceful stop

Make script executable

chmod +x install.sh

Start the application

./install.sh start

Stop the application gracefully

./install.sh stop

Restart the application

./install.sh restart

Check application status

./install.sh status

View logs (last 50 lines by default)

./install.sh logs

View last 100 lines of logs

./install.sh logs 100

Display help

./install.sh help