Created attachment 171220 [details] openntpd rc(8) patch Hi Christian, Attached patch adds support for openntpd_config="/path/to/ntpd.conf" and for service openntpd configtest configtest gets run before every startup. It also documents openntpd_flags at the top of rc.d/openntpd. Patch includes a PORTREVISION bump.
Should checkconfig() include a line like echo "Performing sanity check on ${name} configuration:" ? Either way, I'm fine with this, please commit.
A commit references this bug: Author: adamw Date: Thu Jun 9 15:47:59 UTC 2016 New revision: 416613 URL: https://svnweb.freebsd.org/changeset/ports/416613 Log: Add support for changing the location of ntpd.conf (openntpd_config), and add a 'configtest' rc(8) target. Also note openntpd_flags in the comments at the top of the rc(8) script. PORTREVISION bump for rc(8) script change. PR: 210153 Approved by: naddy (maintainer) Changes: head/net/openntpd/Makefile head/net/openntpd/files/openntpd.in
Good call on that extra line. I've committed this patch. Thanks, Christian!