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 the following modules:
- the jsystemd-core module that includes all the basic bindings to integrate with systemd;
- the jsystemd-spring-boot module that provides the building blocks of jsystemd for Spring Boot applications, such as status and health providers, without automatic configuration;
- the jsystemd-spring-boot-starter module that provides automatic configuration of jsystemd inside Spring Boot applications;
- the jsystemd-keycloak provider that does the same for Keycloak (see Keycloak).
Warning: As of release 4, the minimum supported JVM version is 17, and the Spring Boot starter requires Spring Boot 4.0.0 or later.
Warning: In release 5, the API of the core module and the properties of the Spring Boot starter changed. Check the Upgrading page before upgrading.
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.
