mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
add LICENSE_FILE fix Change distribution source sourceforge -> github Fixed version reference bug when generating man portlint(1) portclippy(1) compliant Changes: https://github.com/munin-monitoring/munin/blob/2.0.75/ChangeLog PR: 276218
24 lines
936 B
Text
24 lines
936 B
Text
--- plugins/node.d/bind9_rndc.in.orig 2018-03-25 14:01:24 UTC
|
|
+++ plugins/node.d/bind9_rndc.in
|
|
@@ -13,6 +13,7 @@ The following environment variables are
|
|
env.rndc /usr/sbin/rndc
|
|
env.rndc_options
|
|
env.querystats /var/run/named.stats
|
|
+ env.rndckeyfile /etc/namedb/rndc.key
|
|
|
|
The user/group that runs the plugin must have read access to the stats
|
|
file. To change user or group (usually Munin plugins are run as
|
|
@@ -62,9 +63,11 @@ License not documented.
|
|
use strict;
|
|
|
|
my $rndc = defined($ENV{rndc}) ? $ENV{rndc} : '/usr/sbin/rndc';
|
|
-my $rndc_options = defined($ENV{rndc_options}) ? $ENV{rndc_options} : '';
|
|
+my $rndckeyfile = $ENV{rndckeyfile} ? $ENV{rndckeyfile} : '/etc/namedb/rndc.key';
|
|
my $querystats = $ENV{querystats} || '/var/run/named.stats';
|
|
my %IN;
|
|
+my @IN_KEYS;
|
|
+my @args = ("$rndc","-k","$rndckeyfile","stats");
|
|
|
|
# attempt to create log file if it doesn't exist
|
|
if ( ! -r $querystats ) {
|
|
|