Re: startup script



Tester wrote:
Hi there,
Can someone explain where should I put my mrtg script to start in FC6:
/usr/bin/mrtg /etc/mrtg/mymrtg.cfg -logging /var/log/mrtg.log.
Also what is running a program in the daemon mode, how it works what
is the advantage?
Thanks a lot, T

Edit /etc/rc.d/rc.local. Add your command to start mrtg at the bottom. env LANG=C mrtg /path/to/mrtg/config/file

The advantage to daemonizing is that it runs in the background, where most full-time monitoring applications would normally run.

....kurt
.