about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-12-24 17:58:53 -0800
committerEric Wong <normalperson@yhbt.net>2009-12-24 17:58:53 -0800
commit3c54f3ff4004ac0347ad70ead643534c1c317f93 (patch)
tree1364514f2dd7e697b3ff209f3ff8f537ee96e9a4
parentc2ece58e13107983b726b83c5cfe798ff71034ca (diff)
downloadzbatery-3c54f3ff4004ac0347ad70ead643534c1c317f93.tar.gz
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.
-rw-r--r--Documentation/zbatery.1.txt14
1 files changed, 6 insertions, 8 deletions
diff --git a/Documentation/zbatery.1.txt b/Documentation/zbatery.1.txt
index c352aff..1072e01 100644
--- a/Documentation/zbatery.1.txt
+++ b/Documentation/zbatery.1.txt
@@ -12,10 +12,9 @@ zbatery [-c CONFIG_FILE] [-E RACK_ENV] [-D] [RACKUP_FILE]
 
 # DESCRIPTION
 
-A rackup(1)-like command to launch Rack applications using
-Zbatery.  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 Zbatery.
+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 Zbatery 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