> Look at overriding start_precmd instead. > Example: > https://github.com/NetBSD/pkgsrc/blob/trunk/mail/qmail-run/files/qmailqread.sh I guess that won't work with any of the more elaborate wrapping that rc.subr provides.
But if there are several rc script which need this functionality, perhaps rc.subr should grow a generic daemonize facility?