From: Bill Kelly Date: 2010-06-08T07:25:09+09:00 Subject: Re: keep eventmachine app running Vect Vect wrote: > I want to find out how to get a event machine app running in the > background. > > In example scripts I have seen when the script are executed it runs in > the console but when the window/ssh session is closed the app stops. > > What needs to be done to have the scripts running as a process in the > background A couple possibilities: /usr/bin/nohup /usr/bin/screen nohup will allow the output to be logged to a file, and keep the process running when you disconnect. screen will allow the actual 'console' to be preserved, so that you can reconnect to it later. (The manpage for screen is lengthy and may appear a little daunting at first, but there are only a few concepts to learn to begin using screen. If you're doing much work over ssh, it's an extremely useful command.) Hope this helps, Bill