aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands/process
Commit message (Collapse)AuthorAgeFilesLines
* Extracted the process scripts (inspector, reaper, spawner) into the plugin ↵David Heinemeier Hansson2008-11-304-493/+0
| | | | irs_process_scripts [DHH]
* Ruby 1.9 compat: remove constants from block parametersAkira Matsuda2008-09-091-2/+2
| | | | | | [#1002 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Merge with docrails.Pratik Naik2008-07-161-2/+2
|
* Add --prefix option to script/server when using mongrel. [dacat] Closes #9716Michael Koziarski2007-10-011-1/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7708 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce RELATIVE_RAILS_ROOT and changed spawner script to use it. Prior to ↵Tobias Lütke2007-04-161-3/+3
| | | | | | this change spawner would assume the non symlinked deploy directory which made reaper reload the wrong code after further deployments. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6531 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Windows: include MinGW in RUBY_PLATFORM check. Closes #2982.Jeremy Kemper2007-03-063-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed script/process/spawner to work properly with Mongrel including in -r ↵David Heinemeier Hansson2006-12-041-4/+14
| | | | | | (daemonize mode) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add grep-based fallback to reaper, so it can work in pidless setups (again)Jamis Buck2006-11-111-10/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5488 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added option to script/process/spawner of specifying the binding address ↵David Heinemeier Hansson2006-10-261-26/+59
| | | | | | #5133 [zsombor] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5367 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Call an inspector for inspectorDavid Heinemeier Hansson2006-08-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure script/reaper only reaps dispatcher pids by default, and not the ↵Jamis Buck2006-07-181-2/+2
| | | | | | spawner's pid. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Mongrel-spawning capabilities to script/process/spawner. Mongrel will ↵David Heinemeier Hansson2006-07-061-17/+61
| | | | | | be the default choice if installed, otherwise FCGI is tried [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove opts.on { |options[:option_name] } style hash assignment. Closes #4440.Nicholas Seckar2006-06-284-15/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Distinguish the spawners for different processesDavid Heinemeier Hansson2006-05-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4324 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -n/--process to script/process/spawner name the process pid (default ↵David Heinemeier Hansson2006-05-021-1/+1
| | | | | | is dispatch) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4323 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -n/--process to script/process/spawner name the process pid (default ↵David Heinemeier Hansson2006-05-021-1/+3
| | | | | | is dispatch) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4322 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the inspector work on debian (closes #4935) [Lars pind]David Heinemeier Hansson2006-05-011-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4320 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script/process/inspector to do simple process status information on ↵David Heinemeier Hansson2006-04-281-3/+4
| | | | | | Rails dispatchers keeping pid files in tmp/pids [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4300 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Status in one lineDavid Heinemeier Hansson2006-04-281-9/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4299 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a simple process inspectorDavid Heinemeier Hansson2006-04-281-0/+68
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4298 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added pid file usage to script/process/spawner and script/process/reaper ↵David Heinemeier Hansson2006-04-282-86/+117
| | | | | | along with a directive in default config/lighttpd.conf file to record the pid. They will all save their pid file in tmp/pids [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4294 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ever so lined upDavid Heinemeier Hansson2006-04-031-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that spawner should daemonize if running in repeat mode [DHH]David Heinemeier Hansson2006-04-031-2/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added 'port open?' check to the spawner when running in repeat mode so we ↵David Heinemeier Hansson2006-03-181-3/+13
| | | | | | don't needlessly boot the dispatcher if the port is already in use anyway #4089 [guy.naor@famundo.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3938 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added socket cleanup for lighttpd, both before and after [DHH] Added ↵David Heinemeier Hansson2006-03-041-1/+1
| | | | | | automatic creation of tmp/ when running script/server [DHH] Added silence_stream that'll work on both STDERR or STDOUT or any other stream and deprecated silence_stderr in the process [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -r/--repeat option to script/process/spawner that offers the same loop ↵David Heinemeier Hansson2006-02-261-3/+22
| | | | | | protection as the spinner did. This deprecates the script/process/spinner, so it's no longer included in the default Rails skeleton, but still available for backwards compatibility (closes #3461) [ror@andreas-s.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove bogus hyphen from script/process/reaper calls to 'ps'. Closes #2767.Jeremy Kemper2005-11-071-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2922 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't reap the spawner or reaper scripts either. Closes #2727.Jeremy Kemper2005-11-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't reap spawn-fcgi. Closes #2727.Jeremy Kemper2005-11-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2865 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reaper knows how to find processes even if the dispatch path is very long. ↵Jeremy Kemper2005-11-021-3/+3
| | | | | | Closes #2711. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documentation updates/fixes for railtiesJamis Buck2005-10-162-5/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2637 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated documentation and fixed the spinner to reference the new spawner by ↵David Heinemeier Hansson2005-10-152-21/+10
| | | | | | default git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2610 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backed out of script/run portal idea. Muscle memory too deepDavid Heinemeier Hansson2005-10-061-4/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update the spinner to the latest commandsDavid Heinemeier Hansson2005-09-301-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2428 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Going to pull all commands into RailsDavid Heinemeier Hansson2005-09-293-0/+232
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2410 5ecf4fe2-1ee6-0310-87b1-e25e094e27de