Sitelet https://github.com/onpointtech/spring-boot-initscript
Skip to content

About

an init script for spring boot projects

Resources

Stars

0 stars

Watchers

12 watching

Forks

 
 

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot start/stop scripts

These scripts are meant to start/stop a spring-boot project on a linux system.

It is meant as a template that can be reconfigured to an arbitrary jar file.

Use the variable names in the settings.sh file to customize to your specific project.

Parameter Description Default Value
PROJECT_NAME the name of the project, will also be used for the war file, log file, ... springboot
SERVICE_USER the user which should run the service root
SPRINGBOOTAPP_HOME base directory for the spring boot jar /usr/local/$PROJECT_NAME
SPRINGBOOTAPP_JAR the jar/war file to start via java -jar $SPRINGBOOTAPP_HOME/$PROJECT_NAME.jar
SPRINGBOOTAPP_JAVA java executable for spring boot app, change if you have multiple jdks installed $JAVA_HOME/bin/java

About

an init script for spring boot projects

Resources

Stars

0 stars

Watchers

12 watching

Forks

Releases

Packages

Contributors

Languages