Since some time we have added an option to nsd to fork
twice instead of once when putting itself in the background.
This way we have created one additional server instance
which is now able to monitor the actual server and restart
it in the case of failure. This has proven very convenient,
yet simple to do. Far more simple than fiddling with the
inittab and init machinery. It is just a matter of giving one
more startup option to the command starting the server.
Now, I'm being tired to patch this simple change in the
nsmain.c each time and I think that this would be interesing
for other nsd users as well.
I would like to get this into the regular distribution and if there
are any voices against, please step out.
Again, this change has no implications on the regular server
operation and is conveniently selectable.
Log in to post a comment.