diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2024-06-11 06:56:14 +0000 |
---|---|---|
committer | Philip Paeps <philip@FreeBSD.org> | 2024-06-11 06:58:25 +0000 |
commit | 7edaf97207fafac03463faa3fbc7c7a246421f04 (patch) | |
tree | 585595233d47be7854105f4f4e2c76413ff223ac | |
parent | e51aa0c9a0e791267bb9cacbef960880952e5a5a (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.
-rw-r--r-- | dns/prometheus-dnssec-exporter/files/dnssec_exporter.in | 3 |
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"} |