Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2024 06:58:41 GMT
From:      Philip Paeps <philip@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7edaf97207fa - main - dns/prometheus-dnssec-exporter: make the rc script service jails aware
Message-ID:  <202406110658.45B6wfkJ011724@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by philip:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7edaf97207fafac03463faa3fbc7c7a246421f04

commit 7edaf97207fafac03463faa3fbc7c7a246421f04
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2024-06-11 06:56:14 +0000
Commit:     Philip Paeps <philip@FreeBSD.org>
CommitDate: 2024-06-11 06:58:25 +0000

    dns/prometheus-dnssec-exporter: make the rc script service jails aware
    
    Make the rc.d script service jails ready.  This is a new feature in
    15-CURRENT.
    
    Set to net_basic (allow ipv4/ipv6 access) by default.  This can be
    overriden in rc.conf.
---
 dns/prometheus-dnssec-exporter/files/dnssec_exporter.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dns/prometheus-dnssec-exporter/files/dnssec_exporter.in b/dns/prometheus-dnssec-exporter/files/dnssec_exporter.in
index 38c5d9a84034..5dc4451bb005 100644
--- a/dns/prometheus-dnssec-exporter/files/dnssec_exporter.in
+++ b/dns/prometheus-dnssec-exporter/files/dnssec_exporter.in
@@ -11,6 +11,8 @@
 #					Set it to YES to enable	prometheus-dnssec-exporter
 # dnssec_exporter_user (string):	Set user to run dnssec_exporter
 #					Default is "%%USERS%%"
+# dnssec_exporter_svcj_options (string):Service jail permissions
+#					Default is "net_basic" = allow IPv4 and IPv6 access
 # dnssec_exporter_group (string):	Set group to run prometheus-dnssec-exporter
 #					Default is "%%GROUPS%%"
 # dnssec_exporter_log_file (string):	Set file that prometheus-dnssec-exporter will log to
@@ -32,6 +34,7 @@ rcvar=dnssec_exporter_enable
 load_rc_config $name
 
 : ${dnssec_exporter_enable:=NO}
+: ${dnssec_exporter_svcj_options:="net_basic"}
 : ${dnssec_exporter_user:=%%USERS%%}
 : ${dnssec_exporter_group:=%%GROUPS%%}
 : ${dnssec_exporter_bind="localhost:9204"}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406110658.45B6wfkJ011724>