[DRE-maint] Mongrel - Init Script Patch

Filipe Lautert filipelautert at celepar.pr.gov.br
Tue Jan 2 13:05:24 CET 2007


Hello,

attached the patch I promised. The problem with pen was the following: when a 
proxy_port was set by a site configuration, all sites after this one tries to 
use the same port. So here I unset all variables before trying to do 
something with a site.

I'm also testing if the 3 mandatory variables are set. Maybe we could chech if 
port and servers are integers...

Also, this patch introduces the configuration variable "env". It defines the 
environment, and if it is not set uses as default "production".

well, for me this patch helps a lot :D

when we have this at our svn, I can do some more hacks.

see ya,

filipe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mongrel_initd.diff
Type: text/x-diff
Size: 1464 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20070102/782f662f/mongrel_initd.bin


More information about the Pkg-ruby-extras-maintainers mailing list