Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
More explicit about binding to localhost by default
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrowning committed Apr 16, 2012
1 parent 964c108 commit 84b9cf2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/en-US/src/main/docbook/production-setup.xml
Expand Up @@ -81,7 +81,7 @@ PATH=$JBOSS_HOME/bin:$JRUBY_HOME/bin:$PATH
Tasks:
torquebox deploy ROOT # Deploy an application to TorqueBox
torquebox undeploy ROOT # Undeploy an application from TorqueBox
torquebox run # Run TorqueBox
torquebox run # Run TorqueBox (binds to localhost, use -b to ov...
torquebox rails ROOT # Create a Rails application at ROOT using the...
torquebox archive ROOT # Create a nice self-contained application arc...
torquebox cli # Run the JBoss AS7 CLI
Expand Down
2 changes: 1 addition & 1 deletion docs/en-US/src/main/docbook/torquebox-cmd.xml
Expand Up @@ -13,7 +13,7 @@ $ torquebox
Tasks:
torquebox deploy ROOT # Deploy an application to TorqueBox
torquebox undeploy ROOT # Undeploy an application from TorqueBox
torquebox run # Run TorqueBox
torquebox run # Run TorqueBox (binds to localhost, use -b to ov...
torquebox rails ROOT # Create a Rails application at ROOT using the...
torquebox archive ROOT # Create a nice self-contained application arc...
torquebox cli # Run the JBoss AS7 CLI
Expand Down
2 changes: 1 addition & 1 deletion docs/en-US/src/main/docbook/torquebox-server-gem.xml
Expand Up @@ -129,7 +129,7 @@ Options:
[--port-offset=N] # Offset all port numbers listened on by TorqueBox by this number
-J, [--jvm-options=JVM-OPTIONS] # Pass options on to the JVM

Run TorqueBox</screen>
Run TorqueBox (binds to localhost, use -b to override)</screen>
</formalpara>
</section>

Expand Down
2 changes: 1 addition & 1 deletion gems/torquebox/bin/torquebox
Expand Up @@ -27,7 +27,7 @@ class TorqueBoxCommand < Thor
TASK_ORDER = %w(deploy undeploy start rails archive cli env help)

map "run" => "start"
desc "run", "Run TorqueBox"
desc "run", "Run TorqueBox (binds to localhost, use -b to override)"
method_option :clustered, :type => :boolean, :desc => "Run TorqueBox in clustered mode"
method_option 'data-directory', :type => :string, :desc => 'Override the directory TorqueBox uses to store it runtime data'
method_option 'extra', :aliases => '-e', :type => :string, :desc => 'Extra options to pass through to JBoss AS, you will to escape dashes with \ (e.g. \--help)'
Expand Down

0 comments on commit 84b9cf2

Please sign in to comment.