Service: Spring Todo MVC
Setup
Dependencies
Note
This Spring Todo MVC application requires openjdk-11-jre
to run. You should already have this on your machine. If you do not, feel free to install it with apt
.
Deploy Artifacts (GitHub)
You can find the artifacts for this project at the Spring Todo MVC artifacts GitHub repo
Instructions
Using the project dependencies and the deploy artifacts create a unit file for the Spring Todo MVC application, configure the unit to restart on failure, and to start on boot (multi-user.target
).
Create Unit File
[Unit]
Section
[Service]
Section
[Install]
Section
Enable the Service
Start the Service
Hints
The Spring Todo MVC application is configured to start on port 8080
, make sure no other applications are using the port.