https://github.com/octopusdeploy/springbootwindowsservice
| Public |
https://github.com/octopusdeploy/springbootwindowsservice
public
Last synced: 11 months ago
JSON representation
| Public |
- Host: GitHub
- URL: https://github.com/octopusdeploy/springbootwindowsservice
- Owner: OctopusDeploy
- License: other
- Created: 2017-06-08T03:07:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-12T21:13:11.000Z (over 8 years ago)
- Last Synced: 2025-01-22T10:15:55.012Z (about 1 year ago)
- Topics: public
- Language: Shell
- Size: 27 MB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Spring Boot Windows Service Example
This is an example of a Spring Boot application that can be deployed as a Windows service.
It is based on the code from https://github.com/snicoll-scratches/spring-boot-daemon.
# Usage
The `dist` folder holds the JAR file built from the code at
https://github.com/OctopusDeploy/SpringBootStopper along with the winsw executable
and configuration from https://github.com/kohsuke/winsw, and the Spring Boot
JAR compiled from this project.
To install the Spring Boot JAR as a service, run:
```
SpringBoot.exe install
```
To remove the service, run:
```
SpringBoot.exe uninstall
```