diff options
Diffstat (limited to 'www/gatus/patches/patch-config_config_go.orig')
| -rw-r--r-- | www/gatus/patches/patch-config_config_go.orig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/www/gatus/patches/patch-config_config_go.orig b/www/gatus/patches/patch-config_config_go.orig new file mode 100644 index 0000000..9f63c7a --- /dev/null +++ b/www/gatus/patches/patch-config_config_go.orig @@ -0,0 +1,16 @@ +Index: config/config.go +--- config/config.go.orig ++++ config/config.go +@@ -28,11 +28,11 @@ import ( + const ( + // DefaultConfigurationFilePath is the default path that will be used to search for the configuration file + // if a custom path isn't configured through the GATUS_CONFIG_PATH environment variable +- DefaultConfigurationFilePath = "config/config.yaml" ++ DefaultConfigurationFilePath = "${SYSCONFDIR}/gatus" + + // DefaultFallbackConfigurationFilePath is the default fallback path that will be used to search for the + // configuration file if DefaultConfigurationFilePath didn't work +- DefaultFallbackConfigurationFilePath = "config/config.yml" ++ DefaultFallbackConfigurationFilePath = "${SYSCONFDIR}/gatus" + ) + |
