JSVC(1)
β¨ jsvc: the daemon-launching bestie β¨
okay so bestie, welcome to the JSVC(1) manual page π
this is the official little launcher for java daemons, and weβre gonna walk through it like a group chat. No cap.
πΈ NAME πΈ
jsvc β application to launch java daemon.
π SYNOPSIS π
jsvc [-jvm JVM name] [-client client JVM] [-server server JVM]
[-classpath path] [-cp path] [-java-home directory] [-version]
[-help] [-?] [-nodetach] [-debug] [-check] [-user user] [-wait
waittime] [-restarts max restart count] [-umask mask] [-stop]
[-verbose:class|gc|jni] [-outfile /full/path/to/file] [-errfile
/full/path/to/file] [-pidfile /full/path/to/file]
[-Dproperty=value] [-Xoption]
π¦ DESCRIPTION π¦
jsvc executes the classfile that implements a Daemon interface. Thatβs the main character move. β¨
π OPTIONS π
-jvm JVM nameβ use a specific Java Virtual Machine. iconic little picker.-client client JVMβ use a client Java Virtual Machine.-server server JVMβ use a server Java Virtual Machine.-cp/ -classpathdirectory and zip/jar files β set search path for service classes and resources.-java-home directoryβ set the path of your JDK or JRE installation (or set theJAVA_HOMEenvironment variable).-versionβ show the current Java environment version (to check correctness of-homeand-jvm; implies-nodetach).-helpβ show this help page (implies-nodetach) β and yes,-?is sitting right there in the synopsis too.-nodetachβ donβt detach from the parent process and become a daemon.-debugβ verbosely print debugging information.-checkβ only check the service (implies-nodetach).-stopβ stop the service using the file given in the-pidfileoption.-wait waittimeβ wait up to waittime seconds for the service to start; waittime should be a multiple of 10 (min=10).-restarts max restart countβ maximum automatic restart count:-1=infinite (default),0=none,1..(INT_MAX-1)=fixed count.-umask maskβ sets the file mode creation mask.-user userβ user used to run the daemon (defaults to current user).-verbose[:class|gc|jni]β enable verbose output.-outfile /full/path/to/fileβ location for output fromstdout(defaults to/dev/null). Use the value&2to simulate1>&2, orSYSLOGto send output to the system log.-errfile /full/path/to/fileβ location for output fromstderr(defaults to/dev/null). Use the value&1to simulate2>&1, orSYSLOGto send output to the system log.-pidfile /full/path/to/fileβ location for output from the file containing the pid ofjsvc(defaults to/var/run/jsvc.pid).-D<name>=<value>β set a Java system property.-X<option>β set Virtual Machine specific option.
π AUTHOR π
JSVC is part of the Apache Commons Daemon project. Authors are Jean-Frederic Clere, Remy Maucherat, Yoav Shapira, Bill Barker, Mladen Turk. JSVC is released under the Apache License Version 2.0.
and thatβs the whole JSVC(1) manual page, bestie π«Ά it comes from the Apache Commons Daemon project, Jsvc version 1.6.1, dated 2026-06-03. periodt π
π¦ where this page comes from
- arch rolling: java-jsvc 1.6.1-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms