JSVC(1)

πŸ“¦ version 1.6.1, in arch rolling

✨ 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/ -classpath directory 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 the JAVA_HOME environment variable).
  • -version β€” show the current Java environment version (to check correctness of -home and -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 -pidfile option.
  • -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 from stdout (defaults to /dev/null). Use the value &2 to simulate 1>&2, or SYSLOG to send output to the system log.
  • -errfile /full/path/to/file β€” location for output from stderr (defaults to /dev/null). Use the value &1 to simulate 2>&1, or SYSLOG to send output to the system log.
  • -pidfile /full/path/to/file β€” location for output from the file containing the pid of jsvc (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