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
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
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
Visit our blog for all the latest at http://www.techcfl.com/blog
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs