Forum: Ruby on Rails starting WEBrick

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
David M (Guest)
on 2006-06-12 15:37
(Received via mailing list)
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
Robert D. (Guest)
on 2006-06-12 15:44
(Received via mailing list)
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
Phillip K. (Guest)
on 2006-06-12 16:06
(Received via mailing list)
$RAILS_ROOT/script/server -d

David M wrote:
>
>


--
Phillip K.
(909)630-9562
removed_email_address@domain.invalid
This topic is locked and can not be replied to.