openbsd-ports/net/pdnsd/pkg/pdnsd.rc
ajacoutot dbc0ee7438 Add an rc script, from frantisek holop.
Tweak the port a bit while here.
2011-10-14 07:00:51 +00:00

15 lines
214 B
Bash

#!/bin/sh
#
# $OpenBSD: pdnsd.rc,v 1.1 2011/10/14 07:00:51 ajacoutot Exp $
daemon="${TRUEPREFIX}/sbin/pdnsd"
daemon_flags="-d"
. /etc/rc.d/rc.subr
rc_reload() {
${TRUEPREFIX}/sbin/pdnsd-ctl config
}
rc_cmd $1