blob: 9f63c7a4625ff9e1cdd41b5f79954a8ef6d38abe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"
)
|