Changeset 1000
- Timestamp:
- 03/31/08 03:19:14 (5 months ago)
- Files:
-
- branches/stable_1-2 (modified) (2 props)
- branches/stable_1-2/bin/mongrel_rails (modified) (2 diffs)
- branches/stable_1-2/lib/mongrel/configurator.rb (modified) (3 diffs)
- branches/stable_1-2/lib/mongrel/rails.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/stable_1-2
- Property bzr:revision-id:v3-trunk0 changed from
814 luislavena@gmail.com-20080331074345-8r7ghwi05bwwqz7f
to
814 luislavena@gmail.com-20080331074345-8r7ghwi05bwwqz7f
815 luislavena@gmail.com-20080331075048-t48wb12km03z1k7d - Property bzr:revision-info changed from
timestamp: 2008-03-31 04:43:45.765000105 -0300
committer: Luis Lavena <luislavena@gmail.com>
properties:
branch-nick: stable_1-2
to
timestamp: 2008-03-31 04:50:48.828000069 -0300
committer: Luis Lavena <luislavena@gmail.com>
properties:
branch-nick: stable_1-2
- Property bzr:revision-id:v3-trunk0 changed from
branches/stable_1-2/bin/mongrel_rails
r995 r1000 1 #!/usr/bin/env ruby 2 # 1 3 # Copyright (c) 2005 Zed A. Shaw 2 4 # You can redistribute it and/or modify it under the same terms as Ruby. … … 138 140 139 141 if config.needs_restart 140 if RUBY_PLATFORM !~ / mswin/142 if RUBY_PLATFORM !~ /djgpp|(cyg|ms|bcc)win|mingw/ 141 143 cmd = "ruby #{__FILE__} start #{original_args.join(' ')}" 142 144 config.log "Restarting with arguments: #{cmd}" branches/stable_1-2/lib/mongrel/configurator.rb
r813 r1000 82 82 # Writes the PID file if we're not on Windows. 83 83 def write_pid_file 84 if RUBY_PLATFORM !~ / mswin/84 if RUBY_PLATFORM !~ /djgpp|(cyg|ms|bcc)win|mingw/ 85 85 log "Writing PID file to #{@pid_file}" 86 86 open(@pid_file,"w") {|f| f.write(Process.pid) } … … 186 186 ops = resolve_defaults(options) 187 187 # save this for later since daemonize will hose it 188 if RUBY_PLATFORM !~ / mswin/188 if RUBY_PLATFORM !~ /djgpp|(cyg|ms|bcc)win|mingw/ 189 189 require 'daemons/daemonize' 190 190 … … 367 367 at_exit { remove_pid_file } 368 368 369 if RUBY_PLATFORM !~ / mswin/369 if RUBY_PLATFORM !~ /djgpp|(cyg|ms|bcc)win|mingw/ 370 370 # graceful shutdown 371 371 trap("TERM") { log "TERM signal received."; stop } branches/stable_1-2/lib/mongrel/rails.rb
r685 r1000 174 174 setup_signals(options) 175 175 176 if RUBY_PLATFORM !~ / mswin/176 if RUBY_PLATFORM !~ /djgpp|(cyg|ms|bcc)win|mingw/ 177 177 # rails reload 178 178 trap("HUP") { log "HUP signal received."; reload! }
