Skip to content
Browse files

Rename some daemons so that the naming is consistent with other daemons

  • Loading branch information...
1 parent 0068ed9 commit 5ced3ecd025bb80d358c204265d37c23f0fe8a76 @marius committed Jun 15, 2011
View
2 helper-scripts/passenger-spawn-server
@@ -30,7 +30,7 @@ OWNER_SOCKET_FD = 4
begin
STDOUT.sync = true
STDERR.sync = true
- $0 = "Passenger spawn server"
+ $0 = "PassengerSpawnServer"
if GC.respond_to?(:copy_on_write_friendly=)
GC.copy_on_write_friendly = true
end
View
2 lib/phusion_passenger/classic_rails/application_spawner.rb
@@ -172,7 +172,7 @@ def before_fork # :nodoc:
# Overrided method.
def initialize_server # :nodoc:
report_app_init_status(MessageChannel.new(@owner_socket)) do
- $0 = "Passenger ApplicationSpawner: #{@app_root}"
+ $0 = "PassengerApplicationSpawner: #{@app_root}"
prepare_app_process('config/environment.rb', @options)
if defined?(RAILS_ENV)
Object.send(:remove_const, :RAILS_ENV)
View
2 lib/phusion_passenger/classic_rails/framework_spawner.rb
@@ -209,7 +209,7 @@ def before_fork # :nodoc:
# Overrided method.
def initialize_server # :nodoc:
- $0 = "Passenger FrameworkSpawner: #{@framework_version}"
+ $0 = "PassengerFrameworkSpawner: #{@framework_version}"
@spawners = AbstractServerCollection.new
channel = MessageChannel.new(@owner_socket)
begin
View
2 lib/phusion_passenger/rack/application_spawner.rb
@@ -151,7 +151,7 @@ def before_fork # :nodoc:
# Overrided method.
def initialize_server # :nodoc:
report_app_init_status(MessageChannel.new(@owner_socket)) do
- $0 = "Passenger ApplicationSpawner: #{@app_root}"
+ $0 = "PassengerApplicationSpawner: #{@app_root}"
prepare_app_process('config.ru', @options)
@app = self.class.send(:load_rack_app)
after_loading_app_code(@options)

0 comments on commit 5ced3ec

Please sign in to comment.
Something went wrong with that request. Please try again.