Where do you prefer storing pids, logs, sockets?

This is kind of a quick poll, when you setup your mongrel/thin/
wathever server, where do you prefer storing such things as pids,
logs, sockets?

Do you prefer something like:

/var/run/thin (for pids)
/var/log/thin (for logs)
/home/user/tmp (for sockets)

Or let this stuff inside the rails application folder?

Does you decision depend on having one or more apps in the same
server?


Aníbal Rojas

http://anibal.rojas.com

Hi

Quick answer - nginx, mongrel - logs per app under rails app, - but
error log in /var/log. Mongrel pids in the rails app.

Tony

On 21/03/2008, Aníbal Rojas [email protected] wrote:


Tony White

I do the same. I keep the mogrel and rails pids and logs per app under
the
rails app folder and nginx logs in var/log.

Raul

----- Original Message -----
From: “Tony White” [email protected]
To: [email protected]
Sent: Friday, March 21, 2008 2:44 AM
Subject: [Rails-deploy] Re: Where do you prefer storing pids, logs,
sockets?

Hi

Quick answer - nginx, mongrel - logs per app under rails app, - but
error log in /var/log. Mongrel pids in the rails app.

Tony

On 21/03/2008, Aníbal Rojas [email protected] wrote:


Tony White