[Mongrel] Running Shell Scripts/Commands at Startup?

hemant gethemant at gmail.com
Fri Sep 15 15:04:59 EDT 2006


So, technically this script should work:
> exec("rake backgroundrb:start") if fork.nil?
> Process.detach
> Of course...i haven't tested it and you need to set some environment
> stuff...before you can have access to proper rake command.

between Ezra has already cranked out that script...so wait for his next
shiny release of backgroundrb plugin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060916/182c6eea/attachment.html 

More information about the Mongrel-users mailing list