From d5375f5c24abfae0173007f47bc9e83139d556b5 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 24 Dec 2009 17:56:47 -0800 Subject: doc: update manpage since Unicorn got new features working_directory and Worker#user got added over time, so recommending Dir.chdir and Process::UID.change_privilege is bad. --- Documentation/rainbows.1.txt | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'Documentation') 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 -- cgit v1.2.3-24-ge0c7