diff options
| author | la-ninpre <aaoth@aaoth.xyz> | 2023-04-27 01:02:17 +0300 |
|---|---|---|
| committer | la-ninpre <aaoth@aaoth.xyz> | 2023-04-27 01:02:17 +0300 |
| commit | 6cdfb9b9ab548157f190e620b8da6e86afe2f95b (patch) | |
| tree | 4eba1e1f29ed95a9bd796f90188ade881cd811ff /www/gatus/patches/patch-config_config_go.orig | |
| parent | daf68141d829acbf71ae5aebb964c84f7b850a73 (diff) | |
| download | ports-6cdfb9b9ab548157f190e620b8da6e86afe2f95b.tar.gz ports-6cdfb9b9ab548157f190e620b8da6e86afe2f95b.zip | |
www/gatus: add 5.3.2
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" + ) + |
