diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-12-24 17:56:47 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-12-24 17:56:47 -0800 |
commit | d5375f5c24abfae0173007f47bc9e83139d556b5 (patch) | |
tree | f5ef026efe4e84467a2ebbc84adb95bcad64355b /Documentation | |
parent | 831e0b2f89c3ae93b71631fcc5fcf7109697de88 (diff) | |
download | rainbows-d5375f5c24abfae0173007f47bc9e83139d556b5.tar.gz |
working_directory and Worker#user got added over time, so recommending Dir.chdir and Process::UID.change_privilege is bad.
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/rainbows.1.txt | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Documentation/rainbows.1.txt b/Documentation/rainbows.1.txt index 069dcfe..885bd28 100644 --- a/Documentation/rainbows.1.txt +++ b/Documentation/rainbows.1.txt @@ -12,10 +12,9 @@ rainbows [-c CONFIG_FILE] [-E RACK_ENV] [-D] [RACKUP_FILE] # DESCRIPTION -A rackup(1)-like command to launch Rack applications using -Rainbows!. It is expected to be started in your application root -(APP_ROOT), but "Dir.chdir" may also be executed in the CONFIG_FILE or -RACKUP_FILE. +A rackup(1)-like command to launch Rack applications using Rainbows!. +It is expected to be started in your application root (APP_ROOT), +but the "working_directory" directive may be used in the CONFIG_FILE. While Rainbows! takes a myriad of command-line options for compatibility with ruby(1) and rackup(1), it is recommended to stick @@ -34,10 +33,9 @@ with rackup(1) but strongly discouraged. # UNICORN OPTIONS -c, \--config-file CONFIG_FILE : Path to the Unicorn-specific config file. The config file is - implemented as a Ruby DSL, so Ruby code may executed (e.g. - "Dir.chdir", "Process::UID.change_privilege"). See the RDoc/ri - for the *Unicorn::Configurator* class for the full list of - directives available from the DSL. + implemented as a Ruby DSL, so Ruby code may executed. + See the RDoc/ri for the *Unicorn::Configurator* class for the full + list of directives available from the DSL. -D, \--daemonize : Run daemonized in the background. The process is detached from |