It would be nice if mdnsd wrote its PID to a /var/run file, so that the daemon can be conveniently killed within an rc script.
It would appear that calling pidfile(3) somewhere near the beginning of main would be sufficient to set this up rather nicely.
It would be nice if
mdnsdwrote its PID to a/var/runfile, so that the daemon can be conveniently killed within anrcscript.It would appear that calling pidfile(3) somewhere near the beginning of
mainwould be sufficient to set this up rather nicely.