summaryrefslogtreecommitdiff
path: root/net-mgmt/icingadb/files/patch-pkg_config_config.go
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2023-09-26 15:19:52 +0000
committerDan Langille <dvl@FreeBSD.org>2023-09-26 15:22:01 +0000
commit67e1373470a6751d7843cdbba88e13facb43acac (patch)
tree21a8f6eaaa71179d863c1b2be1eef6e56d6c63ba /net-mgmt/icingadb/files/patch-pkg_config_config.go
parentdevel/cligen: update to 6.3.0 (diff)
net-mgmt/icingadb: Add new port
Publish, synchronize, and visualize Icinga data https://icinga.com/docs/icinga-db/latest/doc/02-Installation/
Diffstat (limited to 'net-mgmt/icingadb/files/patch-pkg_config_config.go')
-rw-r--r--net-mgmt/icingadb/files/patch-pkg_config_config.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/icingadb/files/patch-pkg_config_config.go b/net-mgmt/icingadb/files/patch-pkg_config_config.go
new file mode 100644
index 000000000000..1b5b0066118c
--- /dev/null
+++ b/net-mgmt/icingadb/files/patch-pkg_config_config.go
@@ -0,0 +1,11 @@
+--- pkg/config/config.go.orig 2023-09-08 17:19:58 UTC
++++ pkg/config/config.go
+@@ -46,7 +46,7 @@ type Flags struct {
+ // Version decides whether to just print the version and exit.
+ Version bool `long:"version" description:"print version and exit"`
+ // Config is the path to the config file
+- Config string `short:"c" long:"config" description:"path to config file" required:"true" default:"/etc/icingadb/config.yml"`
++ Config string `short:"c" long:"config" description:"path to config file" required:"true" default:"%%PREFIX%%/etc/icinga2/icingadb.yml"`
+ }
+
+ // FromYAMLFile returns a new Config value created from the given YAML config file.