[Mongrel] why put .pid's in log instead of tmp?

Don Park don at jibjab.net
Mon May 7 14:44:33 EDT 2007


i believe the answer is the decision was made pre-rails 1.2 which  
added tmp/* to the rails directory tree. plus maybe other frameworks  
dont have tmp/pids and log was a safe default.

don

On May 7, 2007, at 11:39 AM, Doug Smith wrote:

> I have thought this as well -- but it's not just Mongrel that does
> this.  Ferret's DRb server also puts the .pid file into the logs
> directory.   I'd prefer a dedicated location myself.
>
> Thanks,
>
> Doug
>
> On 5/7/07, Matt Zukowski <mzukowski at urbacon.net> wrote:
>> Just out of curiosity, why does mongrel_rails by default put its .pid
>> files in the log directory rather than in tmp or tmp/pids? Putting  
>> them
>> in the log directory seems to me like a strange decision, since  
>> they're
>> not logs -- they're temporary state files.
>>
>>
>> This e-mail message is privileged, confidential and subject to  
>> copyright. Any unauthorized use or disclosure is prohibited.
>> Le contenu du pr'esent courriel est privil'egi'e, confidentiel et  
>> soumis `a des droits d'auteur. Il est interdit de l'utiliser ou de  
>> le divulguer sans autorisation.
>>
>>
>> _______________________________________________
>> Mongrel-users mailing list
>> Mongrel-users at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/mongrel-users
>>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users



More information about the Mongrel-users mailing list