Sha256: 929c21183124c2578ac553a6b9f3d481aff0521625a0eec07d1b04773832f4aa
Contents?: true
Size: 1.31 KB
Versions: 5
Compression:
Stored size: 1.31 KB
Contents
#!/usr/bin/env ruby # Phusion Passenger - http://www.modrails.com/ # Copyright (C) 2008 Phusion # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. require 'pathname' $LOAD_PATH.unshift(File.expand_path("#{File.dirname(__FILE__)}/../lib")) require 'passenger/spawn_manager' require 'passenger/utils' begin STDOUT.sync = true STDERR.sync = true $0 = "Passenger spawn server" if GC.respond_to?(:copy_on_write_friendly=) GC.copy_on_write_friendly = true end spawn_manager = Passenger::SpawnManager.new input = IO.new(Passenger::SpawnManager::DEFAULT_INPUT_FD) spawn_manager.start_synchronously(input) spawn_manager.cleanup rescue => e include Passenger::Utils print_exception("spawn manager", e) exit 10 end
Version data entries
5 entries across 5 versions & 1 rubygems