* Re: [PATCH] Show the current working directory in the proc title
2010-07-05 23:34 7% ` Eric Wong
@ 2010-07-06 2:18 0% ` Lawrence Pit
0 siblings, 0 replies; 2+ results
From: Lawrence Pit @ 2010-07-06 2:18 UTC (permalink / raw)
To: unicorn list
The +after_fork+ doc mentions "generally there's no reason to start
Unicorn as a priviledged user".
"generally" that may be true, I'd still recommend to run each app as a
dedicated user.
The added bonus is that it makes it most obvious in ps(1) listings which
app a unicorn process belongs to as 'user' is usually mentioned first.
On small terminals the value of --config-file could easily be cut off at
the right, still leaving you in the dark.
Lawrence
> Jeremy Evans <jeremyevans0@gmail.com> wrote:
>
>> I see in the NEWS entry for 0.95.1 that you do recommend an absolute
>> path for the -c/--config-file option, but it may be beneficial to
>> mention this in the man page or other parts of the documentation.
>>
>
> Agreed, thanks Jeremy!
>
> >From d7695c25c5e3b1c90e63bf15a5c5fdf68bfd0c34 Mon Sep 17 00:00:00 2001
> From: Eric Wong <normalperson@yhbt.net>
> Date: Mon, 5 Jul 2010 23:14:40 +0000
> Subject: [PATCH] doc: recommend absolute paths for -c/--config-file
>
> Suggested-by: Jeremy Evans
> ref: http://mid.gmane.org/AANLkTintT4vHGEdueuG45_RwJqFCToHi5pm2-WKDSUMz@mail.gmail.com
> ---
> Documentation/unicorn.1.txt | 3 +++
> Documentation/unicorn_rails.1.txt | 7 +++++--
> 2 files changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/unicorn.1.txt b/Documentation/unicorn.1.txt
> index 24df7ab..c20a570 100644
> --- a/Documentation/unicorn.1.txt
> +++ b/Documentation/unicorn.1.txt
> @@ -36,6 +36,9 @@ with rackup(1) but strongly discouraged.
> 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.
> + Using an absolute path for for CONFIG_FILE is recommended as it
> + makes multiple instances of Unicorn easily distinguishable when
> + viewing ps(1) output.
>
> -D, \--daemonize
> : Run daemonized in the background. The process is detached from
> diff --git a/Documentation/unicorn_rails.1.txt b/Documentation/unicorn_rails.1.txt
> index 267e425..f426b07 100644
> --- a/Documentation/unicorn_rails.1.txt
> +++ b/Documentation/unicorn_rails.1.txt
> @@ -34,8 +34,11 @@ as much as possible.
> -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.
> - See the RDoc/ri for the *Unicorn::Configurator* class for the
> - full list of directives available from the DSL.
> + See the RDoc/ri for the *Unicorn::Configurator* class for the full
> + list of directives available from the DSL.
> + Using an absolute path for for CONFIG_FILE is recommended as it
> + makes multiple instances of Unicorn easily distinguishable when
> + viewing ps(1) output.
>
> -D, \--daemonize
> : Run daemonized in the background. The process is detached from
>
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying
^ permalink raw reply [relevance 0%]
* Re: [PATCH] Show the current working directory in the proc title
@ 2010-07-05 23:34 7% ` Eric Wong
2010-07-06 2:18 0% ` Lawrence Pit
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2010-07-05 23:34 UTC (permalink / raw)
To: unicorn list
Jeremy Evans <jeremyevans0@gmail.com> wrote:
> I see in the NEWS entry for 0.95.1 that you do recommend an absolute
> path for the -c/--config-file option, but it may be beneficial to
> mention this in the man page or other parts of the documentation.
Agreed, thanks Jeremy!
>From d7695c25c5e3b1c90e63bf15a5c5fdf68bfd0c34 Mon Sep 17 00:00:00 2001
From: Eric Wong <normalperson@yhbt.net>
Date: Mon, 5 Jul 2010 23:14:40 +0000
Subject: [PATCH] doc: recommend absolute paths for -c/--config-file
Suggested-by: Jeremy Evans
ref: http://mid.gmane.org/AANLkTintT4vHGEdueuG45_RwJqFCToHi5pm2-WKDSUMz@mail.gmail.com
---
Documentation/unicorn.1.txt | 3 +++
Documentation/unicorn_rails.1.txt | 7 +++++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/Documentation/unicorn.1.txt b/Documentation/unicorn.1.txt
index 24df7ab..c20a570 100644
--- a/Documentation/unicorn.1.txt
+++ b/Documentation/unicorn.1.txt
@@ -36,6 +36,9 @@ with rackup(1) but strongly discouraged.
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.
+ Using an absolute path for for CONFIG_FILE is recommended as it
+ makes multiple instances of Unicorn easily distinguishable when
+ viewing ps(1) output.
-D, \--daemonize
: Run daemonized in the background. The process is detached from
diff --git a/Documentation/unicorn_rails.1.txt b/Documentation/unicorn_rails.1.txt
index 267e425..f426b07 100644
--- a/Documentation/unicorn_rails.1.txt
+++ b/Documentation/unicorn_rails.1.txt
@@ -34,8 +34,11 @@ as much as possible.
-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.
- See the RDoc/ri for the *Unicorn::Configurator* class for the
- full list of directives available from the DSL.
+ See the RDoc/ri for the *Unicorn::Configurator* class for the full
+ list of directives available from the DSL.
+ Using an absolute path for for CONFIG_FILE is recommended as it
+ makes multiple instances of Unicorn easily distinguishable when
+ viewing ps(1) output.
-D, \--daemonize
: Run daemonized in the background. The process is detached from
--
Eric Wong
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying
^ permalink raw reply related [relevance 7%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2010-07-02 20:50 [PATCH] Show the current working directory in the proc title Jeremy Evans
2010-07-02 22:29 ` Eric Wong
2010-07-02 22:50 ` Jeremy Evans
2010-07-05 23:34 7% ` Eric Wong
2010-07-06 2:18 0% ` Lawrence Pit
Code repositories for project(s) associated with this public inbox
https://yhbt.net/unicorn.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).