[Spread-users] Re: [Wackamole-users] restarting automaticaly the Wackamole service

Theo Schlossnagle jesus at omniti.com
Fri May 31 15:05:15 EDT 2002


Noel Cornejo wrote:

> /usr/local/bin/spread -c /usr/local/bin/spread.conf
> sleep 10
> /usr/local/sbin/wackamole

I have something like this in my rc.local scripts on my FreeBSD boxes.

/usr/local/sbin/spread -n `hostname` &
sleep 10
/usr/local/sbin/wackamole

Works fine for me.

A really neat feature for Spread would be to have it setsid and fork 
only after it drops in to state 1, gstate 1.  This way, any services 
could be started at boot after spread is started and will be sure it is 
up and connectable.

-- 
Theo Schlossnagle
Principal Consultant
OmniTI Computer Consulting, Inc. -- http://www.omniti.com/
Phone:  +1 301 776 6376       Fax:  +1 410 880 4879
1024D/82844984/95FD 30F1 489E 4613 F22E  491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA  3D 90 B9 9F BE 27 24 E7









More information about the Spread-users mailing list