[mrtg] RunAsDeamon

Sverre Munthe sm at lorstem.no
Mon Oct 20 19:13:46 MEST 2003


I have a bunch of CFG files I'm running from a batch file (windows 2000
server). The reason I have them divided into single CFG-files is that I
monitor the complete network with switches and servers, and putting them
all into the same file will make it impossible to sort things out.

So I have added the RunAsDeamon option to all and run the batch file
with the start /b parameter. Everything works fine. BUT, the batch files
tell me not to close it or the processes will die.

Then the problem. What if the server they run on has to be restarted
from a remote location? If I close the connection (log out) the
processes will die!

Is there a solution to this?


Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list