+---------- On May 31, Zoran Vasiljevic said: > Doable, but messy. IMHO. nsd already takes care about pid-file > logfiles, etc when going to background. This is all nice stuff > and I wouldn't like to reimplement all this in an external shell-script. > Why just not put this logic on the C-level in the nsd?
Why not just use daemontools? You avoid the race conditions of pidfiles and get several other useful features. > This is right. It is the convenience of having a well tested, working solution > which you just use w/o shell-script workarounds. Somebody has to write, > update, maintain, etc... this shell-script, right? Daemontools is a well-tested, working solution, maintained by someone known to write bulletproof code. > Now, what I did not say (nor done yet, but I'm planning to) is: win32. > You have no shell there. By having all built-in, you have no worry. Wouldn't it be better to run nsd as an NT service? -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list: http://www.aolserver.com/listserv.html List information and options: http://listserv.aol.com/