Fork me on GitHub

jsystemd

jsystemd aims to provide a better platform to integrate Java applications with systemd, and run them as proper operating system services.

The integration provides bindings for any Java process to notify systemd once it completes initialization, as well as provide detailed status information to the service supervisor.

The distribution of this software is composed of two parts:

  • the jsystemd-core module that includes all the basic bindings to integrate with systemd
  • the jsystemd-spring-boot-starter module that provides automatic configuration of jsystemd when running under inside Spring Boot applications.

Warning: As of release 3, the minimum supported JVM version is 17, and the Spring Boot starter requires at least Spring 3.

The jsystemd-core module packages some components that expose the status of the JVM to systemd (the Spring Boot starter package automatically configures those).

Binaries are available for download from GitHub, and are also published to Maven Central.

Check the How to page for information on how to get started.