Spring Boot daemon
This project demonstrates how a Spring Boot application can be managed as a service.
You need Java 1.8 and a bash-like shell. To build the project, invoke this command at the root of the project
$ ./mvnw clean install
unix distribution is generated automatically and uses
jsvc. It is added for demonstration purpose only
as Spring Boot
1.3.x has better support for this
windows distribution uses
You need to install the
To install the sample application as a service, extract the distribution somewhere and open a shell with administrative rights in that directory. Then invoke the following command
$ spring-boot-daemon-sample.exe install
Once the service has been installed, you can start it the usual way, that is:
$ net start spring-boot-daemon-sample
The logs are available in the
logs directory of the distribution.
Spring Boot Daemon is Open Source software released under the Apache 2.0 license.