Skip to content

Commit

Permalink
TritonDataCenter/pkgsrc#157: Allow tomcat on privileged ports.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Perkin authored and Filip Hajny committed Dec 12, 2013
1 parent 15429b7 commit c46b71f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion www/apache-tomcat6/files/smf/manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<service_fmri value="svc:/system/filesystem/local" />
</dependency>
<method_context working_directory="@TOMCAT_HOME@/logs">
<method_credential user="@TOMCAT_USER@" group="@TOMCAT_GROUP@" />
<method_credential user="@TOMCAT_USER@" group="@TOMCAT_GROUP@" privileges="basic,net_privaddr" />
<method_environment>
<envvar name="JAVA_HOME" value="@JAVA_HOME@" />
<envvar name="CATALINA_HOME" value="@TOMCAT_HOME@" />
Expand Down
2 changes: 1 addition & 1 deletion www/apache-tomcat7/files/smf/manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<service_fmri value="svc:/system/filesystem/local" />
</dependency>
<method_context working_directory="@TOMCAT_HOME@/logs">
<method_credential user="@TOMCAT_USER@" group="@TOMCAT_GROUP@" />
<method_credential user="@TOMCAT_USER@" group="@TOMCAT_GROUP@" privileges="basic,net_privaddr" />
<method_environment>
<envvar name="JAVA_HOME" value="@JAVA_HOME@" />
<envvar name="CATALINA_HOME" value="@TOMCAT_HOME@" />
Expand Down

0 comments on commit c46b71f

Please sign in to comment.