ports/net/kea-devel/files/kea.in
Cy Schubert 2a7251eeef net/kea-devel: Repocopy from net/kea
The 2.6.x branch of kea has a number of limitations that require it
be patched for the boost upgrade. We will import the 2.7.x (development)
branch of kea as kea-devel.

Note that just like bind9, also developed by ISC (isc.org), even version
numbers, i.e. 2.6, are stable branch while odd numbered version numbers,
i.e. 2.7, are development branch.
2025-02-16 13:07:10 -08:00

31 lines
566 B
Bash

#!/bin/sh
# PROVIDE: kea
# REQUIRE: NETWORK netif routing %%REQ_MYSQL%% %%REQ_PGSQL%%
# KEYWORD: shutdown
#
# Add the following to /etc/rc.conf[.local] to enable this service
#
# kea_enable="YES"
#
. /etc/rc.subr
name=kea
desc="Kea DHCP Server"
rcvar=kea_enable
load_rc_config $name
kea_enable=${kea_enable:-"NO"}
command="%%PREFIX%%/sbin/keactrl"
required_files="%%PREFIX%%/etc/${name}/keactrl.conf"
extra_commands=reload
start_precmd=command_args=start
stop_cmd="$command stop"
status_cmd="$command status"
reload_cmd="$command reload"
run_rc_command "$1"