JSVC(1)
π JSVC π
so this is the manual page for jsvc, aka the little icon that launches your java daemon, from the Apache Commons Daemon project β it's JSVC(1), dated 2025-01-13, and yes bestie the version is Jsvc version 1.4.1, we love a stable era π
β¨ NAME β¨
jsvc β the application to launch java daemon π literally what it says on the tin.
π 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]
okay so that's the whole vibe check β every flag gets its own little moment below πΈ
π¦ DESCRIPTION π¦
jsvc executes classfile that implements a Daemon interface. that's it, that's the whole job, and it does it slayfully. π
π₯ OPTIONS π₯
here's the part you actually came for, bestie. every single one, no skipping, periodt.
-jvmJVM name β use a specific Java Virtual Machine. pick your fighter π₯-clientclient JVM β use a client Java Virtual Machine.-serverserver JVM β use a server Java Virtual Machine. main character energy fr fr.-cp/-classpathdirectory and zip/jar files β set search path for service classes and resouces. (yes, "resouces", that's how the page spells it and I'm not fixing her, she's iconic π)-java-homedirectory β set the path of your JDK or JRE installation (or set theJAVA_HOMEenvironment variable). either way, she needs to know where home is π‘-versionβ show the current Java environment version (to check correctness of-homeand-jvm). Implies-nodetach.-helpβ show this help page. Implies-nodetach. we love a self-aware queen.-nodetachβ don't detach from parent process and become a daemon.-debugβ verbosely print debugging information. the group chat is gonna be LOUD π-checkβ only check service. Implies-nodetach.-stopβ stop the service using the file given in the-pidfileoption.-waitwaittime β wait up to waittime seconds for the service to start. waittime should multiple of 10 (min=10). no cap, ten is the floor β³-restartsmax restart count β maximum automatic restart count:-1=infinite (default),0=none,1..(INT_MAX-1)=fixed count. choose your destiny β¨-umaskmask β sets the file mode creation mask.-useruser β user used to run the daemon (defaults to current user). you, but officially π«Ά-verbose[:class|gc|jni]β enable verbose output. pick a flavour:class,gc, orjniπ-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 ofjsvc(defaults to/var/run/jsvc.pid). π-D<name>=<value>β set a Java system property.-X<option>β set Virtual Machine specific option.
π ngl, careful with-outfileand-errfileβ those defaults are/dev/null, so if you're like "where did my logs go"β¦ they went to the void, bestie. use a real path,'&1'/'&2', or'SYSLOG'if you want them to actually exist.
π 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. give them their flowers ππ
that's the whole page, bestie β sourced from Jsvc version 1.4.1, Apache Commons Daemon project, dated 2025-01-13. now go launch that daemon and ate, no crumbs π§π
π¦ where this page comes from
- alpine 3.24: jsvc-doc 1.4.1-r1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms