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.

  • -jvm JVM name β€” use a specific Java Virtual Machine. pick your fighter πŸ₯Š
  • -client client JVM β€” use a client Java Virtual Machine.
  • -server server JVM β€” use a server Java Virtual Machine. main character energy fr fr.
  • -cp / -classpath directory 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-home directory β€” set the path of your JDK or JRE installation (or set the JAVA_HOME environment variable). either way, she needs to know where home is 🏑
  • -version β€” show the current Java environment version (to check correctness of -home and -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 -pidfile option.
  • -wait waittime β€” wait up to waittime seconds for the service to start. waittime should multiple of 10 (min=10). no cap, ten is the floor ⏳
  • -restarts max restart count β€” maximum automatic restart count: -1=infinite (default), 0=none, 1..(INT_MAX-1)=fixed count. choose your destiny ✨
  • -umask mask β€” sets the file mode creation mask.
  • -user user β€” 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, or jni πŸ“
  • -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.
πŸ’€ ngl, careful with -outfile and -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