1JSVC(1)                  Apache Commons Daemon project                 JSVC(1)
2
3
4

NAME

6       jsvc - application to launch java daemon
7

SYNOPSIS

9       jsvc [-jvm JVM name] [-client client JVM] [-server server JVM]
10            [-classpath path] [-cp path] [-java-home directory] [-version]
11            [-help] [-?] [-nodetach] [-debug] [-check] [-user user]
12            [-wait waittime] [-umask mask] [-stop] [-verbose:class|gc|jni]
13            [-outfile /full/path/to/file] [-errfile /full/path/to/file]
14            [-pidfile /full/path/to/file] [-Dproperty=value] [-Xoption]
15

DESCRIPTION

17       jsvc executes classfile that implements a Daemon interface.
18

OPTIONS

20       -jvm JVM name
21           use a specific Java Virtual Machine.
22
23       -client client JVM
24           use a client Java Virtual Machine.
25
26       -server server JVM
27           use a server Java Virtual Machine.
28
29       -cp/ -classpath directory and zip/jar files
30           set search path for service classes and resouces
31
32       -java-home directory
33           set the path of your JDK or JRE installation (or set the JAVA_HOME
34           environment variable)
35
36       -version
37           show the current Java environment version (to check correctness of
38           -home and -jvm. Implies -nodetach)
39
40       -help
41           show this help page (implies -nodetach)
42
43       -nodetach
44           don't detach from parent process and become a daemon
45
46       -debug
47           verbosely print debugging information
48
49       -check
50           only check service (implies -nodetach)
51
52       -stop
53           stop the service using the file given in the -pidfile option
54
55       -wait waittime
56           wait up to waittime seconds for the service to start waittime
57           should multiple of 10 (min=10)
58
59       -umask mask
60           sets the file mode creation mask
61
62       -user user
63           user used to run the daemon (defaults to current user)
64
65       -verbose[:class|gc|jni]
66           enable verbose output
67
68       -outfile /full/path/to/file
69           Location for output from stdout (defaults to /dev/null). Use the
70           value '&2' to simulate '1>&2', or 'SYSLOG' to send output to the
71           system log.
72
73       -errfile /full/path/to/file
74           Location for output from stderr (defaults to /dev/null). Use the
75           value '&1' to simulate '2>&1', or 'SYSLOG' to send output to the
76           system log.
77
78       -pidfile /full/path/to/file
79           Location for output from the file containing the pid of jsvc
80           (defaults to /var/run/jsvc.pid)
81
82       -D<name>=<value>
83           set a Java system property
84
85       -X<option>
86           set Virtual Machine specific option
87

AUTHOR

89       JSVC is part of the Apache Commons Daemon project. Authors are
90       Jean-Frederic Clere, Remy Maucherat, Yoav Shapira, Bill Barker, Mladen
91       Turk. JSVC is released under the Apache License Version 2.0.
92
93
94
95Jsvc version 1.0.6                01/31/2019                           JSVC(1)
Impressum