Changeset 1169 for trunk/server/common/patches
- Timestamp:
- Jun 5, 2009, 12:24:02 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/common/patches/httpd-suexec-scripts.patch
r1167 r1169 73 73 74 74 /* variable name is */ 75 @@ -108,6 +113,7 @@76 "DOCUMENT_ROOT=",77 "DOCUMENT_URI=",78 "GATEWAY_INTERFACE=",79 + "JAVA_TOOL_OPTIONS=",80 "HTTPS=",81 "LAST_MODIFIED=",82 "PATH_INFO=",83 75 @@ -245,9 +250,67 @@ 84 76 environ = cleanenv; … … 149 141 gid_t gid; /* target group placeholder */ 150 142 char *target_uname; /* target user name */ 143 @@ -268,6 +331,7 @@ 144 * Start with a "clean" environment 145 */ 146 clean_env(); 147 + setenv("JAVA_TOOL_OPTIONS", "-Xmx128M", 1); /* scripts.mit.edu local hack */ 148 149 prog = argv[0]; 150 /* 151 151 @@ -350,6 +406,20 @@ 152 152 #endif /*_OSD_POSIX*/
Note: See TracChangeset
for help on using the changeset viewer.