'\" t
.\" Title: JSVC
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1
.\" Date: 03/02/2017
.\" Manual: Apache Commons Daemon project
.\" Source: Jsvc version 1.0.6
.\" Language: English
.\"
.TH "JSVC" "1" "03/02/2017" "Jsvc version 1\&.0\&.6" "Apache Commons Daemon project"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
jsvc \- application to launch java daemon
.SH "SYNOPSIS"
.HP \w'\fBjsvc\fR\ 'u
\fBjsvc\fR [\-jvm\ \fIJVM\ name\fR] [\-client\ \fIclient\ JVM\fR] [\-server\ \fIserver\ JVM\fR] [\-classpath\ \fIpath\fR] [\-cp\ \fIpath\fR] [\-java\-home\ \fIdirectory\fR] [\-version] [\-help] [\-?] [\-nodetach] [\-debug] [\-check] [\-user\ \fIuser\fR] [\-wait\ \fIwaittime\fR] [\-umask\ \fImask\fR] [\-stop] [\-verbose\fI:class|gc|jni\fR] [\-outfile\ \fI/full/path/to/file\fR] [\-errfile\ \fI/full/path/to/file\fR] [\-pidfile\ \fI/full/path/to/file\fR] [\-Dproperty=\fIvalue\fR] [\-X\fIoption\fR]
.SH "DESCRIPTION"
.PP
\fBjsvc\fR
executes
\fIclassfile\fR
that implements a Daemon interface\&.
.SH "OPTIONS"
.PP
\fB\-jvm\fR JVM name
.RS 4
use a specific Java Virtual Machine\&.
.RE
.PP
\fB\-client\fR client JVM
.RS 4
use a client Java Virtual Machine\&.
.RE
.PP
\fB\-server\fR server JVM
.RS 4
use a server Java Virtual Machine\&.
.RE
.PP
\fB\-cp/ \-classpath\fR directory and zip/jar files
.RS 4
set search path for service classes and resouces
.RE
.PP
\fB\-java\-home\fR directory
.RS 4
set the path of your JDK or JRE installation (or set the JAVA_HOME environment variable)
.RE
.PP
\fB\-version\fR
.RS 4
show the current Java environment version (to check correctness of \-home and \-jvm\&. Implies \-nodetach)
.RE
.PP
\fB\-help\fR
.RS 4
show this help page (implies \-nodetach)
.RE
.PP
\fB\-nodetach\fR
.RS 4
don\*(Aqt detach from parent process and become a daemon
.RE
.PP
\fB\-debug\fR
.RS 4
verbosely print debugging information
.RE
.PP
\fB\-check\fR
.RS 4
only check service (implies \-nodetach)
.RE
.PP
\fB\-stop\fR
.RS 4
stop the service using the file given in the \-pidfile option
.RE
.PP
\fB\-wait\fR waittime
.RS 4
wait up to waittime seconds for the service to start waittime should multiple of 10 (min=10)
.RE
.PP
\fB\-umask\fR mask
.RS 4
sets the file mode creation mask
.RE
.PP
\fB\-user\fR user
.RS 4
user used to run the daemon (defaults to current user)
.RE
.PP
\fB\-verbose[:class|gc|jni]\fR
.RS 4
enable verbose output
.RE
.PP
\fB\-outfile\fR /full/path/to/file
.RS 4
Location for output from stdout (defaults to /dev/null)\&. Use the value \*(Aq&2\*(Aq to simulate \*(Aq1>&2\*(Aq, or \*(AqSYSLOG\*(Aq to send output to the system log\&.
.RE
.PP
\fB\-errfile\fR /full/path/to/file
.RS 4
Location for output from stderr (defaults to /dev/null)\&. Use the value \*(Aq&1\*(Aq to simulate \*(Aq2>&1\*(Aq, or \*(AqSYSLOG\*(Aq to send output to the system log\&.
.RE
.PP
\fB\-pidfile\fR /full/path/to/file
.RS 4
Location for output from the file containing the pid of jsvc (defaults to /var/run/jsvc\&.pid)
.RE
.PP
\fB\-D\fR=
.RS 4
set a Java system property
.RE
.PP
\fB\-X\fR