Phusion Passenger - www.modrails.com/ Copyright (c) 2010 Phusion
"Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
VERSION_STRING | = | '3.0.15' | Phusion Passenger version number. Don‘t forget to edit ext/common/Constants.h too. | |
PREFERRED_NGINX_VERSION | = | '1.2.2' | ||
PREFERRED_PCRE_VERSION | = | '8.30' | ||
STANDALONE_INTERFACE_VERSION | = | 1 | ||
NATIVELY_PACKAGED_SOURCE_ROOT | = | "/usr/share/phusion-passenger/source" | ||
NATIVELY_PACKAGED_DOCDIR | = | "/usr/share/doc/phusion-passenger" | ||
NATIVELY_PACKAGED_RESOURCES_DIR | = | "/usr/share/phusion-passenger" | ||
NATIVELY_PACKAGED_AGENTS_DIR | = | "/usr/lib/phusion-passenger/agents" | ||
NATIVELY_PACKAGED_HELPER_SCRIPTS_DIR | = | "/usr/share/phusion-passenger/helper-scripts" | ||
NATIVELY_PACKAGED_APACHE2_MODULE | = | "/usr/lib/apache2/modules/mod_passenger.so" | ||
LIBDIR | = | File.expand_path(File.dirname(__FILE__)) | Directory containing the Phusion Passenger Ruby libraries. | |
TEMPLATES_DIR | = | File.join(LIBDIR, "phusion_passenger", "templates") | Directory containing templates. | |
LOCAL_DIR | = | ".passenger" | Subdirectory under $HOME to use for storing resource files. | |
PLUGIN_DIRS | = | ["/usr/share/phusion-passenger/plugins", "/usr/local/share/phusion-passenger/plugins", "~/#{LOCAL_DIR}/plugins"] | Directories in which to look for plugins. | |
LOCAL_STANDALONE_RESOURCE_DIR | = | File.join(LOCAL_DIR, "standalone") | Directory under $HOME for storing Phusion Passenger Standalone resource files. | |
GLOBAL_STANDALONE_RESOURCE_DIR | = | "/var/lib/passenger-standalone" | System-wide directory for storing Phusion Passenger Standalone resource files. | |
SOURCE_ROOT | = | File.expand_path(File.join(LIBDIR, "..")) | Top directory of the Phusion Passenger source code. | |
DOCDIR | = | File.join(SOURCE_ROOT, "doc") | Documentation directory. | |
RESOURCES_DIR | = | File.join(SOURCE_ROOT, "resources") | Directory containing Phusion Passenger resource files. | |
AGENTS_DIR | = | File.join(SOURCE_ROOT, "agents") | ||
HELPER_SCRIPTS_DIR | = | File.join(SOURCE_ROOT, "helper-scripts") | ||
APACHE2_MODULE | = | File.join(SOURCE_ROOT, "ext", "apache2", "mod_passenger.so") | Location of the Apache 2 module. | |
NATIVE_SUPPORT_DIR | = | File.join(SOURCE_ROOT, "ext", "ruby") | Directory possibly containing #{archdir}/passenger_native_support.so. Not available when natively packaged. | |
SOURCE_ROOT | = | NATIVELY_PACKAGED_SOURCE_ROOT | ||
DOCDIR | = | NATIVELY_PACKAGED_DOCDIR | ||
RESOURCES_DIR | = | NATIVELY_PACKAGED_RESOURCES_DIR | ||
AGENTS_DIR | = | NATIVELY_PACKAGED_AGENTS_DIR | ||
HELPER_SCRIPTS_DIR | = | NATIVELY_PACKAGED_HELPER_SCRIPTS_DIR | ||
APACHE2_MODULE | = | NATIVELY_PACKAGED_APACHE2_MODULE | ||
STANDALONE_BINARIES_URL_ROOT | = | "http://standalone-binaries.modrails.com" | Other resource locations ###### | |
DEFAULT_FRAMEWORK_SPAWNER_MAX_IDLE_TIME | = | 30 * 60 | ||
DEFAULT_APP_SPAWNER_MAX_IDLE_TIME | = | 10 * 60 | ||
ROOT_UID | = | 0 | ||
ROOT_GID | = | 0 | ||
PASSENGER_ANALYTICS_WEB_LOG | = | "PASSENGER_ANALYTICS_WEB_LOG" | ||
PASSENGER_TXN_ID | = | "PASSENGER_TXN_ID" | ||
PASSENGER_GROUP_NAME | = | "PASSENGER_GROUP_NAME" | ||
PASSENGER_UNION_STATION_KEY | = | "PASSENGER_UNION_STATION_KEY" |
_spawn_options | [RW] | Set during spawning, and set back to nil when spawning is done. |