D. J. Bernstein writes:
> since tcpd doesn't take responsibility for its own error messages.
Y'know, Dan, sometime when you're bored, it would be great if you
would write up some Unix design guidelines. Some of the ones you
operate by can be inferred from your code, but it would be better if
you explicitly wrote them down. You've heard Henry Spencer's quip
that those who do not understand Unix are doomed to reinvent it
poorly? Well I feel like you *do* understand Unix more than most
people, and that you're reinventing it well.
1) Daemons are ordinary programs run under a daemonizing program.
``man supervise''.
2) TCP servers are ordinary programs run under a socket server.
``man tcpserver''.
3) syslog is slow. Programs should log their actions to stderr.
``man cyclog''.
4) The filesystem is a database. Don't reinvent another database for
simple configuration parameters. Store each parameter in a separate
file.
--
-russ nelson <[EMAIL PROTECTED]> http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok | There is good evidence
521 Pleasant Valley Rd. | +1 315 268 1925 voice | that freedom is the
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | cause of world peace.