# spring-boot-daemon **Repository Path**: aokser/spring-boot-daemon ## Basic Information - **Project Name**: spring-boot-daemon - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-04-26 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Spring Boot daemon This project demonstrates how a Spring Boot application can be managed as a service. ## Building You need Maven to build the project and a simple `mvn package` at the root will do. ## Unix A `unix` distribution is generated automatically and uses `jsvc`. It is added for demonstration purpose only as Spring Boot `1.3.x` has http://docs.spring.io/spring-boot/docs/1.3.0.M5/reference/htmlsingle/#deployment-service[better support for this] ## Windows The `windows` distribution uses https://github.com/kohsuke/winsw[`winsw`]. WARNING: You need to install the `.NET` framework on the target machine first. 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 [source,bash] ---- $ spring-boot-daemon-sample.exe install ---- [NOTE] ==== `spring-boot-daemon-sample` is the identifier of the service. You can control that via Maven properties in the `spring-boot-daemon-sample` project. ==== Once the service has been installed, you can start it the usual way, that is: [source,bash] ---- $ net start spring-boot-daemon-sample ---- The logs are available in the `logs` directory of the distribution. ## License Spring Boot Daemon is Open Source software released under the http://www.apache.org/licenses/LICENSE-2.0.html[Apache 2.0 license].