Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

About this user

« Newer Snippets
Older Snippets »
2 total  XML / RSS feed 

start mongrel daemon

from within the rails project directory, execute this in the shell

mongrel_rails start -d -p 8020 -e production


-d daemonizes the process
-e tells Rails proj. to use production enviromnent
-p port to use, increment by 10 past next closest port

stop mongrel daemon

Stop a daemonized mongrel serving a rails project.

PID file is normally found in /log/

mongrel_rails stop -P <rel. location of PID file>
« Newer Snippets
Older Snippets »
2 total  XML / RSS feed