freebsd-ports/dns/opendnssec/files/opendnssec.in
Michael Scheidell 1747f9c81d - Update to 1.3.9
- Add GIDs/UIDs 215

PR:		ports/169646
Submitted by:	Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
2012-07-08 12:39:15 +00:00

33 lines
527 B
Bash

#!/bin/sh
# $FreeBSD$
#
# PROVIDE: opendnssec
# REQUIRE: LOGIN DAEMON
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable opendnssec:
#
# opendnssec_enable="YES"
. /etc/rc.subr
name=opendnssec
rcvar=opendnssec_enable
load_rc_config $name
opendnssec_enable=${opendnssec_enable:-"NO"}
start_cmd="${name}_run start"
stop_cmd="${name}_run stop"
extra_commands="reload ksm hsm signer enforcer"
procname=${opendnssec_procname}
opendnssec_run()
{
%%PREFIX%%/sbin/ods-control $1
}
run_rc_command "$1"