Most noteably fixes cpu metrics and arm64 support. https://github.com/influxdata/telegraf/pull/10931
13 lines
393 B
Plaintext
13 lines
393 B
Plaintext
Index: plugins/inputs/unbound/unbound.go
|
|
--- plugins/inputs/unbound/unbound.go.orig
|
|
+++ plugins/inputs/unbound/unbound.go
|
|
@@ -108,7 +108,7 @@ func unboundRunner(unbound Unbound) (*bytes.Buffer, er
|
|
|
|
if unbound.UseSudo {
|
|
cmdArgs = append([]string{unbound.Binary}, cmdArgs...)
|
|
- cmd = exec.Command("sudo", cmdArgs...)
|
|
+ cmd = exec.Command("doas", cmdArgs...)
|
|
}
|
|
|
|
var out bytes.Buffer
|