diff options
Diffstat (limited to 'net-mgmt/icingadb/files')
-rw-r--r-- | net-mgmt/icingadb/files/patch-internal_config_config.go | 11 | ||||
-rw-r--r-- | net-mgmt/icingadb/files/patch-pkg_config_config.go | 11 |
2 files changed, 11 insertions, 11 deletions
diff --git a/net-mgmt/icingadb/files/patch-internal_config_config.go b/net-mgmt/icingadb/files/patch-internal_config_config.go new file mode 100644 index 000000000000..418f02d52e51 --- /dev/null +++ b/net-mgmt/icingadb/files/patch-internal_config_config.go @@ -0,0 +1,11 @@ +--- internal/config/config.go.orig 2025-07-14 11:25:55 UTC ++++ internal/config/config.go +@@ -56,7 +56,7 @@ type Flags struct { + Version bool `long:"version" description:"print version and exit"` + + // Config is the path to the config file. If not provided, it defaults to DefaultConfigPath. +- Config string `short:"c" long:"config" description:"path to config file (default: /etc/icingadb/config.yml)"` ++ Config string `short:"c" long:"config" description:"path to config file (default: %%PREFIX%%/etc/icingadb/config.yml)"` + // default must be kept in sync with DefaultConfigPath. + + // DatabaseAutoImport results in an initial schema check and update; mostly for containerized setups. diff --git a/net-mgmt/icingadb/files/patch-pkg_config_config.go b/net-mgmt/icingadb/files/patch-pkg_config_config.go deleted file mode 100644 index 1b5b0066118c..000000000000 --- a/net-mgmt/icingadb/files/patch-pkg_config_config.go +++ /dev/null @@ -1,11 +0,0 @@ ---- 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. |