kea: fix run

Closes: #776 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Craig Steinke 2018-07-10 09:43:01 -07:00 committed by Jürgen Buchmüller
parent cf599828f8
commit a96f477131
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
4 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
[ -r conf ] && . ./conf [ -r conf ] && . ./conf
mkdir -p /var/{,run/}kea mkdir -p /var/kea /var/run/kea
exec kea-dhcp-ddns ${OPTS:=-c /etc/kea/kea.conf} exec kea-dhcp-ddns ${OPTS:=-c /etc/kea/kea.conf}

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
[ -r conf ] && . ./conf [ -r conf ] && . ./conf
mkdir -p /var/{,run/}kea [ -n "$WAIT_IFACE" ] && [ -z "$(ip -f inet address show "$WAIT_IFACE")" ] && exit 1
mkdir -p /var/kea /var/run/kea
exec kea-dhcp4 ${OPTS:=-c /etc/kea/kea.conf} exec kea-dhcp4 ${OPTS:=-c /etc/kea/kea.conf}

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
[ -r conf ] && . ./conf [ -r conf ] && . ./conf
mkdir -p /var/{,run/}kea [ -n "$WAIT_IFACE" ] && [ -z "$(ip -f inet6 address show "$WAIT_IFACE")" ] && exit 1
mkdir -p /var/kea /var/run/kea
exec kea-dhcp6 ${OPTS:=-c /etc/kea/kea.conf} exec kea-dhcp6 ${OPTS:=-c /etc/kea/kea.conf}

View File

@ -1,7 +1,7 @@
# Template file for 'kea' # Template file for 'kea'
pkgname=kea pkgname=kea
version=1.3.0 version=1.3.0
revision=4 revision=5
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-generate-docs --with-openssl=${XBPS_CROSS_BASE}/usr configure_args="--enable-generate-docs --with-openssl=${XBPS_CROSS_BASE}/usr
$(vopt_if mysql --with-dhcp-mysql) $(vopt_if mysql --with-dhcp-mysql)