forked from chef-boneyard/jetty
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default_jetty.erb
57 lines (41 loc) · 1.93 KB
/
default_jetty.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Defaults for jetty see /etc/init.d/jetty for more
#
# It was dynamically generated by Chef on <%= node["fqdn"] %>
#
# Local modifications will be overwritten by Chef.
#
# change to 0 to allow Jetty to start
NO_START="<%= node["jetty"]["no_start"] %>"
# change to 'no' or uncomment to use the default setting in /etc/default/rcS
VERBOSE=yes
# Run Jetty as this user ID (default: jetty)
# Set this to an empty string to prevent Jetty from starting automatically
JETTY_USER="<%= node["jetty"]["user"] %>"
# Listen to connections from this network host (leave empty to accept all connections)
#Uncomment to restrict access to localhost
JETTY_HOST="<%= node["jetty"]["host"] %>"
# The network port used by Jetty
JETTY_PORT=<%= node["jetty"]["port"] %>
# The location of the Jetty log files
JETTY_LOGS="<%= node["jetty"]["log_dir"] %>"
# Timeout in seconds for the shutdown of all webapps
#JETTY_SHUTDOWN=30
# Additional arguments to pass to Jetty
JETTY_ARGS="<%= node["jetty"]["jetty_args"] %> <%= node["jetty"]["jetty_extra_args"].values.join(" ") %>"
# Extra options to pass to the JVM
JAVA_OPTIONS="<%= node["jetty"]["java_options"] %> <%= node["jetty"]["java_extra_options"].values.join(" ") %>"
# Home of Java installation.
JAVA_HOME="<%= node["java"]["java_home"] %>"
# The first existing directory is used for JAVA_HOME (if JAVA_HOME is not
# defined in /etc/default/jetty). Should contain a list of space separated directories.
#JDK_DIRS="/usr/lib/jvm/default-java /usr/lib/jvm/java-6-sun"
# Java compiler to use for translating JavaServer Pages (JSPs). You can use all
# compilers that are accepted by Ant's build.compiler property.
#JSP_COMPILER=jikes
# Jetty uses a directory to store temporary files like unpacked webapps
JETTY_TMP="<%= node["jetty"]["tmp_dir"] %>"
# Jetty uses a config file to setup its boot classpath
#JETTY_START_CONFIG=/etc/jetty/start.config
# Default for number of days to keep old log files in /var/log/jetty/
#LOGFILE_DAYS=14
#