The current daemons discussion prompts a vaguely related question. We have a small but growing collection of in-house daemons written in Go. Go's runtime isn't amenable to the fork/setsid dance you would normally do to push a daemon process into the background. As a workaround, I ported FreeBSD's daemon(8), which neatly solves the problem.
The current FreeBSD daemon(8) has accumulated more features than I would like, versus the original version I knew. But it's a useful command in its original form (with just the -c and -f flags). Was this ever part of Open? If not, could it be, if we offered a stripped down version of the FreeBSD code? --lyndon