From: Daniel Swarbrick Date: Tue, 19 Aug 2025 19:31:04 +0200 Subject: Set sane Debian defaults Forwarded: not-needed --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 7c4a654..57c0a3b 100644 --- a/main.go +++ b/main.go @@ -18,7 +18,7 @@ var ( showVersion = flag.Bool("version", false, "Print version information.") listenAddress = flag.String("web.listen-address", ":9324", "Address on which to expose metrics and web interface.") metricsPath = flag.String("web.telemetry-path", "/metrics", "Path under which to expose metrics.") - birdSocket = flag.String("bird.socket", "/var/run/bird.ctl", "Socket to communicate with bird routing daemon") + birdSocket = flag.String("bird.socket", "/run/bird/bird.ctl", "Socket to communicate with bird routing daemon") birdV2 = flag.Bool("bird.v2", false, "Bird major version >= 2.0 (multi channel protocols)") tlsEnabled = flag.Bool("tls.enabled", false, "Enables TLS") tlsCertChainPath = flag.String("tls.cert-file", "", "Path to TLS cert file") @@ -33,7 +33,7 @@ var ( enableRPKI = flag.Bool("proto.rpki", true, "Enables metrics for protocol RPKI") enableBFD = flag.Bool("proto.bfd", true, "Enables metrics for protocol BFD") // pre bird 2.0 - bird6Socket = flag.String("bird.socket6", "/var/run/bird6.ctl", "Socket to communicate with bird6 routing daemon (not compatible with -bird.v2)") + bird6Socket = flag.String("bird.socket6", "/run/bird/bird6.ctl", "Socket to communicate with bird6 routing daemon (not compatible with -bird.v2)") birdEnabled = flag.Bool("bird.ipv4", true, "Get protocols from bird (not compatible with -bird.v2)") bird6Enabled = flag.Bool("bird.ipv6", true, "Get protocols from bird6 (not compatible with -bird.v2)") descriptionLabels = flag.Bool("format.description-labels", false, "Add labels from protocol descriptions.")