Show a message on script/server exit before reaping FCGIs

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Sam Stephenson
2006-01-13 01:10:32 +00:00
parent 7fbfc5ab61
commit 6fbedf2e31

View File

@@ -63,6 +63,7 @@ begin
`lighttpd #{!detach ? "-D " : ""}-f #{config_file}`
ensure
tail_thread.kill if tail_thread
puts 'Exiting'
# Ensure FCGI processes are reaped
path_to_ruby = "#{Config::CONFIG['bindir']}/#{Config::CONFIG['ruby_install_name']}"