summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2024-06-11 14:56:14 +0800
committerPhilip Paeps <philip@FreeBSD.org>2024-06-11 14:58:25 +0800
commit7edaf97207fafac03463faa3fbc7c7a246421f04 (patch)
tree585595233d47be7854105f4f4e2c76413ff223ac /dns
parentdns/dnsproxy: make the rc script service jails aware (diff)
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.
Diffstat (limited to 'dns')
-rw-r--r--dns/prometheus-dnssec-exporter/files/dnssec_exporter.in3
1 files changed, 3 insertions, 0 deletions
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"}