Re: xServes are dead ;-( / SAN Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Nov 11, 2010 at 05:39:15PM -0800, Gordon Messmer wrote:
> On 11/11/2010 03:45 PM, John R Pierce wrote:
> > put the job in a loop like...
> >
> >      while true;  do
> >           your stuff
> >           sleep 60
> >      done;
> 
> Sure, but you also need to start the loop and make sure it doesn't die. 

Put in /etc/inittab
  ms:2345:respawn:/path/to/my/loop_script

(where "ms" is unique).

If the loop dies then init will restart it for you.

-- 

rgds
Stephen
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux