From 643994afcdbd4121c0d131a87052cdd17d40e54f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 25 Dec 2009 01:49:13 +0000 Subject: doc: update manpages since we got new features working_directory and Worker#user got added over time, so recommending Dir.chdir and Process::UID.change_privilege is bad. --- Documentation/unicorn_rails.1.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'Documentation/unicorn_rails.1.txt') diff --git a/Documentation/unicorn_rails.1.txt b/Documentation/unicorn_rails.1.txt index 5ffb4b4..d2d8190 100644 --- a/Documentation/unicorn_rails.1.txt +++ b/Documentation/unicorn_rails.1.txt @@ -14,8 +14,7 @@ unicorn_rails [-c CONFIG_FILE] [-E RAILS_ENV] [-D] [RACKUP_FILE] A rackup(1)-like command to launch Rails applications using Unicorn. It is expected to be started in your Rails application root (RAILS_ROOT), -but "Dir.chdir" may also be executed in the CONFIG_FILE or -optionally, RACKUP_FILE. +but the "working_directory" directive may be used in the CONFIG_FILE. The outward interface resembles rackup(1), the internals and default middleware loading is designed like the `script/server` command @@ -29,10 +28,9 @@ as much as possible. # 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