Fwd: Re: [hobbit] auto-restart clients

lars ebeling dhd733 at yahoo.se
Sun Apr 24 08:00:51 CEST 2005



Henrik Stoerner <henrik at hswn.dk> wrote:
Now the trick is to get that script run automatically when the system
starts up. How you do that depends on the Unix flavour - often the
script is installed in /etc/init.d/bigbrother, and then you need to
create links from /etc/rc2.d/S99bigbrother -> /etc/init.d/bigbrother

Since there also were stop in the script you should also link the script to /etc/rc1.d/K01bigbrother to automatically stop bigbrother

Ie. ln -s /etc/init.d/bigbrother /etc/rc1.d/K01bigbrother

Regards

Lars

 



Hobbithobbyist

"If you run UNIX and you don't have a UPS, you should see a psychiatrist...."
--Byte Magazine (years ago)
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20050424/1064e0e9/attachment.html>


More information about the Xymon mailing list