opnsense-ports/www/carbonapi/files/patch-cmd_carbonapi_carbonapi.example.toml
Franco Fichtner 8c1dc1c589 */*: sync with upstream
Taken from: HardenedBSD
2020-11-03 14:22:12 +01:00

20 lines
515 B
TOML

--- cmd/carbonapi/carbonapi.example.toml.orig 2020-08-19 11:50:06 UTC
+++ cmd/carbonapi/carbonapi.example.toml
@@ -9,7 +9,7 @@ idleConnections = 10
listen = "localhost:8081"
pidFile = ""
tz = ""
-graphTemplates = "graphTemplates.example.toml"
+graphTemplates = "/usr/local/etc/carbonapi/graphTemplates.example.toml"
[cache]
defaultTimeoutSec = 60
@@ -36,7 +36,7 @@ logger = ""
[[logger]]
encoding = "json"
-file = "carbonapi.log"
+file = "/var/log/carbonapi/carbonapi.log"
level = "info"
logger = ""