From: Markus Schirp Date: 2010-06-22T18:47:04+09:00 Subject: Re: script for production server This is not a ruby specific problem. All processes started "normally" from a shell are terminated when the shell exits. There are many, many posibillities to avoid this, the most easy way would be the use of the programm screen. But it has several diadvantages. I suggest to use a process supervisor (it will restart your programm when it crashes, and takes care of starting it after your server comes up). Personally I use: supervise (from djbs deamontools) and monit Feel free to google ;) Mfg Markus On 06/22/2010 11:37 AM, Florent THOMAS wrote: > Hello, > > I'm pretty new with ruby and I've just installed retrospectiva with > success within ruby enterprise edition. > I ran with success the command : /XXXXX/bin/ruby script/server -e > production -p3000 > Unfortunately as I close the shell, the server shut down. > How can I test that the server is in production in order to make it as a > service in a script. > > best regards >