Starting WEBrick


#1

I’m doing some testing and want to start WEBrick as a daemon on my RHEL
4
server. How can I start this to run as a daemon from the command line
so
that I can close my ssh session and leave WEBrick running?

Thanks,
David


#2

David,

On our Ubuntu test box we go into the root directory of the rails app
and hit script/server. We can then lock the screen and WEBrick keeps
going. I am sure that you can set up a cron job as well to make it start
upon reboot of the server. Good luck.


Sincerely,

Robert D.
Project Director
Atlantic Dominion Solutions, LLC

321.356.6855
http://www.techcfl.com

Visit our blog for all the latest at http://www.techcfl.com/blog


#3

$RAILS_ROOT/script/server -d

David M wrote:


Phillip K.
(909)630-9562
removed_email_address@domain.invalid