Xymon Mailing List Archive search

auto-restart clients

list Lars Ebeling
Sun, 24 Apr 2005 08:00:51 +0200 (CEST)
Message-Id: <user-fbfa637068eb@xymon.invalid>


Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> 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)