aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands/process
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-10-06 02:05:36 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-10-06 02:05:36 +0000
commita9f34eaa0f07a56a2de674cb5ec604a722e67310 (patch)
tree330bac51ea5442db70b46acca89df997ef073604 /railties/lib/commands/process
parenteb54de9992dedfcc6b42613a06480af4d0783bf0 (diff)
downloadrails-a9f34eaa0f07a56a2de674cb5ec604a722e67310.tar.gz
rails-a9f34eaa0f07a56a2de674cb5ec604a722e67310.tar.bz2
rails-a9f34eaa0f07a56a2de674cb5ec604a722e67310.zip
Backed out of script/run portal idea. Muscle memory too deep
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/commands/process')
-rw-r--r--railties/lib/commands/process/reaper.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/railties/lib/commands/process/reaper.rb b/railties/lib/commands/process/reaper.rb
index 27c05ed5ce..b5b82c310f 100644
--- a/railties/lib/commands/process/reaper.rb
+++ b/railties/lib/commands/process/reaper.rb
@@ -77,19 +77,18 @@ ARGV.options do |opts|
opts.on <<-EOF
Description:
- The reaper is used to reload, gracefully exit, and forcefully exit FCGI processes
+ The reaper is used to restart, reload, gracefully exit, and forcefully exit FCGI processes
running a Rails Dispatcher. This is commonly done when a new version of the application
is available, so the existing processes can be updated to use the latest code.
The reaper actions are:
+ * restart : Restarts the application by reloading both application and framework code
* reload : Only reloads the application, but not the framework (like the development environment)
* graceful: Marks all of the processes for exit after the next request
* kill : Forcefully exists all processes regardless of whether they're currently serving a request
- Graceful exist is the most common and default action. But since the processes won't exist until after
- their next request, it's often necessary to ensure that such a request occurs right after they've been
- marked. That's what nudging is for.
+ Restart is the most common and default action.
A nudge is simply a request to a URL where the dispatcher is serving. You should perform one nudge per
FCGI process you have running if they're setup in a round-robin. Be sure to do one nudge per FCGI process