1747f9c81d
- Add GIDs/UIDs 215 PR: ports/169646 Submitted by: Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
33 lines
527 B
Bash
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"
|