Timothy Wagner
2008-Jul-14 03:03 UTC
[Mongrel] Default Configuration of Mongrel Under script/server
Hey All, I was curious how I can control the default mongrel configuration when it is run through the use of ''script/server''. Is there a way to edit possibly a default .conf file? Any help would be greatly appreciated! Regards, Tim
Scott Ballantyne
2008-Jul-14 14:07 UTC
[Mongrel] Default Configuration of Mongrel Under script/server
you can run the mongrel_rails command and then run tail, here are the
options for mongrel_rails:
b at B trunk |mongrel_rails start -h
Usage: mongrel_rails <command> [options]
-e, --environment ENV Rails environment to run as
-d, --daemonize Run daemonized in the background
-p, --port PORT Which port to bind to
-a, --address ADDR Address to bind to
-l, --log FILE Where to write log messages
-P, --pid FILE Where to write the PID
-n, --num-processors INT Number of processors active before
clients denied
-o, --timeout TIME Time to wait (in seconds) before
killing a stalled thread
-t, --throttle TIME Time to pause (in hundredths of a
second) between accepting clients
-m, --mime PATH A YAML file that lists additional MIME
types
-c, --chdir PATH Change to dir before starting (will be
expanded)
-r, --root PATH Set the document root (default
''public'')
-B, --debug Enable debugging mode
-C, --config PATH Use a config file
-S, --script PATH Load the given file as an extra config
script
-G, --generate PATH Generate a config file for use with -C
--user USER
User to run as
--group GROUP
Group to run as
--prefix PATH
URL prefix for Rails app
-h, --help Show this message
--version Show version
something like this:
mongrel_rail start && tail -f log/development.log
is like the script/server command...
hope that helps...
On Mon, Jul 14, 2008 at 11:03 AM, Timothy Wagner <tkw722 at gmail.com>
wrote:
> Hey All,
>
> I was curious how I can control the default mongrel configuration when it
> is run through the use of ''script/server''. Is there a way
to edit possibly a
> default .conf file? Any help would be greatly appreciated!
>
> Regards,
> Tim
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/mongrel-users/attachments/20080714/1b4cd1af/attachment.html>