FreeBSD Bugzilla – Attachment 188744 Details for
Bug 224266
www/tomcat85: add support for jsvc umask
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add support for jsvc umask
umask.diff (text/plain), 1.08 KB, created by
Lapo Luchini
on 2017-12-12 09:33:41 UTC
(
hide
)
Description:
Add support for jsvc umask
Filename:
MIME Type:
Creator:
Lapo Luchini
Created:
2017-12-12 09:33:41 UTC
Size:
1.08 KB
patch
obsolete
>===> Generating patch >===> Viewing diff with cdiff >diff -ruN /usr/ports/www/tomcat85/files/tomcat85.in ./files/tomcat85.in >--- /usr/ports/www/tomcat85/files/tomcat85.in 2017-03-29 21:31:53.000000000 +0200 >+++ ./files/tomcat85.in 2017-12-12 10:26:51.265279000 +0100 >@@ -58,6 +58,10 @@ > # Set to "30" by default. > # Set the wait time (in seconds) for Tomcat process startup > # >+# tomcat85_umask (str): >+# Set to "0077" by default. >+# Sets the umask for Tomcat process. >+# > # You may symlink this script with other names to run multiple > # instances of tomcat85 with different configurations. > # >@@ -94,6 +98,7 @@ > eval "_tomcat_classpath=\${${name}_classpath:-''}" > eval "_tomcat_java_opts=\${${name}_java_opts:-''}" > eval "_tomcat_wait=\${${name}_wait:-'30'}" >+eval "_tomcat_umask=\${${name}_umask:-'0077'}" > > pidfile="/var/run/${name}.pid" > >@@ -106,6 +111,7 @@ > command_args="-java-home '${_tomcat_java_home}' \ > -server \ > -user ${_tomcat_catalina_user} \ >+ -umask ${_tomcat_umask} \ > -pidfile '${pidfile}' \ > -wait ${_tomcat_wait} \ > -outfile '${_tomcat_stdout}' \ >====> Cleaning up >===> Done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 224266
: 188744