Lines 58-63
Link Here
|
58 |
# Set to "30" by default. |
58 |
# Set to "30" by default. |
59 |
# Set the wait time (in seconds) for Tomcat process startup |
59 |
# Set the wait time (in seconds) for Tomcat process startup |
60 |
# |
60 |
# |
|
|
61 |
# tomcat_devel_umask (str): |
62 |
# Set to "0077" by default. |
63 |
# Sets the umask for Tomcat process. |
64 |
# |
61 |
# You may symlink this script with other names to run multiple |
65 |
# You may symlink this script with other names to run multiple |
62 |
# instances of tomcat-devel with different configurations. |
66 |
# instances of tomcat-devel with different configurations. |
63 |
# |
67 |
# |
Lines 94-99
Link Here
|
94 |
eval "_tomcat_classpath=\${${name}_classpath:-''}" |
98 |
eval "_tomcat_classpath=\${${name}_classpath:-''}" |
95 |
eval "_tomcat_java_opts=\${${name}_java_opts:-''}" |
99 |
eval "_tomcat_java_opts=\${${name}_java_opts:-''}" |
96 |
eval "_tomcat_wait=\${${name}_wait:-'30'}" |
100 |
eval "_tomcat_wait=\${${name}_wait:-'30'}" |
|
|
101 |
eval "_tomcat_umask=\${${name}_umask:-'0077'}" |
97 |
|
102 |
|
98 |
pidfile="/var/run/${name}.pid" |
103 |
pidfile="/var/run/${name}.pid" |
99 |
|
104 |
|
Lines 106-111
Link Here
|
106 |
command_args="-java-home '${_tomcat_java_home}' \ |
111 |
command_args="-java-home '${_tomcat_java_home}' \ |
107 |
-server \ |
112 |
-server \ |
108 |
-user ${_tomcat_catalina_user} \ |
113 |
-user ${_tomcat_catalina_user} \ |
|
|
114 |
-umask ${_tomcat_umask} \ |
109 |
-pidfile '${pidfile}' \ |
115 |
-pidfile '${pidfile}' \ |
110 |
-wait ${_tomcat_wait} \ |
116 |
-wait ${_tomcat_wait} \ |
111 |
-outfile '${_tomcat_stdout}' \ |
117 |
-outfile '${_tomcat_stdout}' \ |