# Default Configuration of Mongrel Under script/server

**URL:** <https://www.ruby-forum.com/t/default-configuration-of-mongrel-under-script-server/142975>\
**Category:** Mongrel\
**Created:** [July 14, 2008, 5:07am UTC](https://www.ruby-forum.com/t/default-configuration-of-mongrel-under-script-server/142975 "2008-07-14T05:07:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tkw722](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e47774/32.png) [@tkw722](https://www.ruby-forum.com/u/tkw722)\
**Post date:** [July 14, 2008, 5:07am UTC](https://www.ruby-forum.com/t/default-configuration-of-mongrel-under-script-server/142975/1 "2008-07-14T05:07:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tkw722](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e47774/32.png) [@tkw722](https://www.ruby-forum.com/u/tkw722)\
**Post date:** [July 14, 2008, 4:10pm UTC](https://www.ruby-forum.com/t/default-configuration-of-mongrel-under-script-server/142975/2 "2008-07-14T16:10:10Z")

</div>

you can run the mongrel\_rails command and then run tail, here are the  
options for mongrel\_rails:

b@B trunk |mongrel\_rails start -h  
Usage: mongrel\_rails [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…
