Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

thin(1) [centos man page]

THIN(1) 							   User Commands							   THIN(1)

NAME
thin - fast and very simple Ruby web server SYNOPSIS
thin [options] start|stop|restart|config|install DESCRIPTION
Server options: -a, --address HOST bind to HOST address (default: 0.0.0.0) -p, --port PORT use PORT (default: 3000) -S, --socket FILE bind to unix domain socket -y, --swiftiply [KEY] Run using swiftiply -A, --adapter NAME Rack adapter to use (default: autodetect) (rack, rails, ramaze, halcyon, merb, mack, mack, file) -R, --rackup FILE Load a Rack config file instead of Rack adapter -c, --chdir DIR Change to dir before starting --stats PATH Mount the Stats adapter under PATH SSL options: --ssl Enables SSL --ssl-key-file PATH Path to private key --ssl-cert-file PATH Path to certificate --ssl-verify Enables SSL certificate verification Adapter options: -e, --environment ENV Framework environment (default: development) --prefix PATH Mount the app under PATH (start with /) Daemon options: -d, --daemonize Run daemonized in the background -l, --log FILE File to redirect output (default: log/thin.log) -P, --pid FILE File to store PID (default: tmp/pids/thin.pid) -u, --user NAME User to run daemon as (use with -g) -g, --group NAME Group to run daemon as (use with -u) --tag NAME Additional text to display in process listing Cluster options: -s, --servers NUM Number of servers to start -o, --only NUM Send command to only one server of the cluster -C, --config FILE Load options from config file --all [DIR] Send command to each config files in DIR -O, --onebyone Restart the cluster one by one (only works with restart command) -w, --wait NUM Maximum wait time for server to be started in seconds (use with -O) Tuning options: -b, --backend CLASS Backend to use, full classname -t, --timeout SEC Request or command timeout in sec (default: 30) -f, --force Force the execution of the command --max-conns NUM Maximum number of open file descriptors (default: 1024) Might require sudo to set higher than 1024 --max-persistent-conns NUM Maximum number of persistent connections (default: 512) --threaded Call the Rack application in threads [experimental] --no-epoll Disable the use of epoll Common options: -r, --require FILE require the library -D, --debug Set debugging on -V, --trace Set tracing on (log raw request/response) -h, --help Show this message -v, --version Show version SEE ALSO
The full documentation for thin is maintained as a Texinfo manual. If the info and thin programs are properly installed at your site, the command info thin should give you access to the complete manual. thin 1.3.1 codename Triple Espresso June 2012 THIN(1)

Check Out this Related Man Page

RACKUP(1)																 RACKUP(1)

NAME
rackup rackup(1) -- An utility for run Rack-based applications SYNOPSIS
rackup [ruby options] [rack options] [rackup config] DESCRIPTION
Rackup is a useful tool for running Rack applications, which uses the Rack::Builder DSL to configure middleware and build up applications easily. rackup automatically figures out the environment it is run in, and runs your application as FastCGI, CGI, or standalone with Mongrel or WEBrick -all from the same configuration. OPTIONS
Ruby options: -e, --eval [LINE] evaluate a LINE of code -d, --debug set debugging flags (set $DEBUG to true) -w, --warn turn warnings on for your script -I, --include [PATH] specify $LOAD_PATH (may be used more than once) -r, --require [LIBRARY] require the library, before executing your script Rack options: -s, --server [SERVER] serve using SERVER (webrick/mongrel) -o, --host [HOST] listen on HOST (default: 0.0.0.0) -p, --port [PORT] use PORT (default: 9292) -E, --env [ENVIRONMENT] use ENVIRONMENT for defaults (default: development) -D, --daemonize run daemonized in the background -P, --pid [FILE] file to store PID (default: rack.pid) Common options: -h, --help Show the help message --version Show version EXAMPLES
This is a simple example on how to start an application based on Rack with rackup: $ rackup -Ilib blog/config.ru [2010-12-10 15:01:11] INFO WEBrick 1.3.1 [2010-12-10 15:01:11] INFO ruby 1.9.2 (2010-08-18) [x86_64-linux] [2010-12-10 15:01:11] INFO WEBrick::HTTPServer#start: pid=4496 port=9292 AUTHORS
Copyright (C) 2007, 2008, 2009, 2010 Christian Neukirchen <http://purl.org/net/chneukirchen> For a complete list of authors and contributors to the project, please take a look here https://github.com/rack/rack/contributors This manual page was written by Ermenegildo Fiorito fiorito.g@gmail.com for the Debian Project SEE ALSO
ruby(1) http://rack.rubyforge.org December 2010 RACKUP(1)
Man Page