From: Chad Perrin Date: 2012-06-07T04:52:45+09:00 Subject: Re: Ruby script running standalone on vserver On Wed, Jun 06, 2012 at 08:22:34PM +0900, Robert Klemme wrote: > On Wed, Jun 6, 2012 at 11:17 AM, Peter Hickman > wrote: > > If the script needs to be run continuously then a tool like monit > > (which you would have to install) would be worth looking at. It will > > keep the script running even if it crashes, it will just restart it if > > things go wrong and make sure that it starts when your sever reboots. > > > > Or you could just write a script for /etc/init.d that launches your > > script at boot time and pray that it never crashes (which is why I > > would recommend monit). > > If output to stdout is needed then screen might also help. . . . or, better yet, tmux. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]