Dossy wrote:
I haven't used daemontools yet, but does running nsd under daemontools
require you to run nsd -f? Or, will daemontools monitor the PID of nsd
and do the right thing if nsd disappears?
It monitors the process, not the PID. If nsd dies, it restarts it, based
on starting it with 'svc -u'. You could start the process with 'svc -o',
where -o means once. If the process dies, it will not restart.
You run nsd like so '/path/to/nsd -it nsd.tcl -u me' inside a shell
script named 'run'.
Check out an old document: http://zmbh.com/daemontools-aolserver/ which
explains the whole thing.
--Tom Jackson
--
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/