Skip to main content

One post tagged with "shell"

View all tags

Safely Restart a Java Application on Linux

· 3 min read
Apache Wangye
Software developer and technical writer

Production Java processes should normally be managed by systemd, a container orchestrator, or another supervisor. Searching ps output and killing a matched PID is fragile: it can select the grep process, match multiple applications, or start a duplicate instance.

Total views -- · Visitors --