diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-12-25 01:49:13 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-12-25 01:51:20 +0000 |
commit | 643994afcdbd4121c0d131a87052cdd17d40e54f (patch) | |
tree | e88356ecb250c582aecf9affefddde28b439beb4 /Documentation/unicorn_rails.1.txt | |
parent | db9c8a22d824a3a95ddfcafb0338fcc6e5157608 (diff) | |
download | unicorn-643994afcdbd4121c0d131a87052cdd17d40e54f.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/unicorn_rails.1.txt')
-rw-r--r-- | Documentation/unicorn_rails.1.txt | 10 |
1 files changed, 4 insertions, 6 deletions
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 |