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

CLICK FOR ANSWER

[Unit] Section

CLICK FOR ANSWER

[Service] Section

CLICK FOR ANSWER

[Install] Section

CLICK FOR ANSWER

Enable the Service

CLICK FOR ANSWER

Start the Service

CLICK FOR ANSWER

Hints

The Spring Todo MVC application is configured to start on port 8080, make sure no other applications are using the port.