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] [-restarts max restart count] [-umask mask]
13            [-stop] [-verbose:class|gc|jni] [-outfile /full/path/to/file]
14            [-errfile /full/path/to/file] [-pidfile /full/path/to/file]
15            [-Dproperty=value] [-Xoption]
16

DESCRIPTION

18       jsvc executes classfile that implements a Daemon interface.
19

OPTIONS

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

AUTHOR

94       JSVC is part of the Apache Commons Daemon project. Authors are
95       Jean-Frederic Clere, Remy Maucherat, Yoav Shapira, Bill Barker, Mladen
96       Turk. JSVC is released under the Apache License Version 2.0.
97
98
99
100Jsvc version 1.2.0                07/24/2019                           JSVC(1)
Impressum