1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

dns/acme-dns: make service jails aware

Add a basic config for service jails and rename the start script
to make it comply to the rc-docs.

PR:		279625
Approved by:	maintainer
This commit is contained in:
Alexander Leidinger 2024-08-24 14:47:11 +02:00
parent 983fb349a9
commit c9f63c5c71
3 changed files with 12 additions and 1 deletions

View File

@ -5,6 +5,16 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
20240824:
AFFECTS: dns/acme-dns
AUTHOR: netchildFreeBSD.org
The start script of acme-dns has been renamed to acme_dns for improved
compatibility with other parts of the system. The automatic start at
boot (rc.conf variable settings) is not affected, but if you have some
other automatism you may want to change
".../etc/rc.d/acme-dns" to ".../etc/rc.d/acme_dns"
20240816:
AFFECTS: users of databases/redis
AUTHOR: yasu@FreeBSD.org

View File

@ -69,7 +69,7 @@ GH_TUPLE= \
yudai:golcs:ecda9a501e82:yudai_golcs/vendor/github.com/yudai/golcs \
yudai:pp:v2.0.1:yudai_pp/vendor/github.com/yudai/pp
USE_RC_SUBR= acme-dns
USE_RC_SUBR= acme_dns
post-patch:
@${REINPLACE_CMD} -e 's|etc\/acme-dns|usr\/local\/etc\/acme-dns|' ${WRKSRC}/main.go

View File

@ -24,6 +24,7 @@ load_rc_config $name
: ${acme_dns_pidfile="/var/run/acme-dns/acme-dns.pid"}
: ${acme_dns_log="/var/log/acme-dns.log"}
: ${acme_dns_args=""}
: ${acme_dns_svcj_options:="net_basic"}
pidfile=${acme_dns_pidfile}
command="/usr/sbin/daemon"