.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH THIN "1" "March 2024" "thin 1.8.1 codename Infinite Smoothie" "User Commands" .SH NAME thin \- fast and very simple Ruby web server .SH SYNOPSIS .B thin [\fI\,options\/\fR] \fI\,start|stop|restart|config|install\/\fR .SH DESCRIPTION .SS "Server options:" .TP \fB\-a\fR, \fB\-\-address\fR HOST bind to HOST address (default: 0.0.0.0) .TP \fB\-p\fR, \fB\-\-port\fR PORT use PORT (default: 3000) .TP \fB\-S\fR, \fB\-\-socket\fR FILE bind to unix domain socket .TP \fB\-y\fR, \fB\-\-swiftiply\fR [KEY] Run using swiftiply .TP \fB\-A\fR, \fB\-\-adapter\fR NAME Rack adapter to use (default: autodetect) (rack, rails, ramaze, merb, file) .TP \fB\-R\fR, \fB\-\-rackup\fR FILE Load a Rack config file instead of Rack adapter .TP \fB\-c\fR, \fB\-\-chdir\fR DIR Change to dir before starting .TP \fB\-\-stats\fR PATH Mount the Stats adapter under PATH .SS "SSL options:" .TP \fB\-\-ssl\fR Enables SSL .TP \fB\-\-ssl\-key\-file\fR PATH Path to private key .TP \fB\-\-ssl\-cert\-file\fR PATH Path to certificate .TP \fB\-\-ssl\-disable\-verify\fR Disables (optional) client cert requests .TP \fB\-\-ssl\-version\fR VERSION TLSv1, TLSv1_1, TLSv1_2 .TP \fB\-\-ssl\-cipher\-list\fR STRING Example: HIGH:!ADH:!RC4:\-MEDIUM:\-LOW:\-EXP:\-CAMELLIA .SS "Adapter options:" .TP \fB\-e\fR, \fB\-\-environment\fR ENV Framework environment (default: development) .TP \fB\-\-prefix\fR PATH Mount the app under PATH (start with /) .SS "Daemon options:" .TP \fB\-d\fR, \fB\-\-daemonize\fR Run daemonized in the background .TP \fB\-l\fR, \fB\-\-log\fR FILE File to redirect output (default: \fI\,/build/reproducible\-path/thin\-1.8.1/log/thin.log\/\fP) .TP \fB\-P\fR, \fB\-\-pid\fR FILE File to store PID (default: tmp/pids/thin.pid) .TP \fB\-u\fR, \fB\-\-user\fR NAME User to run daemon as (use with \fB\-g\fR) .TP \fB\-g\fR, \fB\-\-group\fR NAME Group to run daemon as (use with \fB\-u\fR) .TP \fB\-\-tag\fR NAME Additional text to display in process listing .SS "Cluster options:" .TP \fB\-s\fR, \fB\-\-servers\fR NUM Number of servers to start .TP \fB\-o\fR, \fB\-\-only\fR NUM Send command to only one server of the cluster .TP \fB\-C\fR, \fB\-\-config\fR FILE Load options from config file .TP \fB\-\-all\fR [DIR] Send command to each config files in DIR .TP \fB\-O\fR, \fB\-\-onebyone\fR Restart the cluster one by one (only works with restart command) .TP \fB\-w\fR, \fB\-\-wait\fR NUM Maximum wait time for server to be started in seconds (use with \fB\-O\fR) .SS "Tuning options:" .TP \fB\-b\fR, \fB\-\-backend\fR CLASS Backend to use, full classname .TP \fB\-t\fR, \fB\-\-timeout\fR SEC Request or command timeout in sec (default: 30) .TP \fB\-f\fR, \fB\-\-force\fR Force the execution of the command .TP \fB\-\-max\-conns\fR NUM Maximum number of open file descriptors (default: 1024) Might require sudo to set higher than 1024 .TP \fB\-\-max\-persistent\-conns\fR NUM Maximum number of persistent connections (default: 100) .TP \fB\-\-threaded\fR Call the Rack application in threads [experimental] .TP \fB\-\-threadpool\-size\fR NUM Sets the size of the EventMachine threadpool. (default: 20) .TP \fB\-\-no\-epoll\fR Disable the use of epoll .SS "Common options:" .TP \fB\-r\fR, \fB\-\-require\fR FILE require the library .TP \fB\-q\fR, \fB\-\-quiet\fR Silence all logging .TP \fB\-D\fR, \fB\-\-debug\fR Enable debug logging .TP \fB\-V\fR, \fB\-\-trace\fR Set tracing on (log raw request/response) .TP \fB\-h\fR, \fB\-\-help\fR Show this message .TP \fB\-v\fR, \fB\-\-version\fR Show version .SH "SEE ALSO" The full documentation for .B thin is maintained as a Texinfo manual. If the .B info and .B thin programs are properly installed at your site, the command .IP .B info thin .PP should give you access to the complete manual.