All languages

Java

You're viewing a free preview. Sign in free to read every script.

Why this exists Not every Java service runs in a container. Many organisations still run Tomcat on virtual machines or run Spring Boot jars directly on Linux hosts. In both cases the operational details (JVM options,…

Deploying to Tomcat and Running a Java Service under systemd

The two traditional ways to run Java on a server: a WAR in Tomcat with setenv.sh, the manager app and the log files to watch, and a self-contained jar as a hardened systemd service with an environment file, restart policy, graceful stop and a symlinked release directory.

Sign in free to read this script, along with the rest of the library.

Sign in free