From 432675a2c7c2eb88d6573319bbdb6ffe151d303a Mon Sep 17 00:00:00 2001 From: "Everton H. Taques" <97463920+etaques@users.noreply.github.com> Date: Wed, 15 Feb 2023 09:48:43 -0300 Subject: [PATCH] set default path for orb-agent.db --- cmd/agent/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/agent/main.go b/cmd/agent/main.go index 8047fab07..2cc15c434 100644 --- a/cmd/agent/main.go +++ b/cmd/agent/main.go @@ -143,7 +143,7 @@ func mergeOrError(path string) { v.SetDefault("orb.cloud.mqtt.id", "") v.SetDefault("orb.cloud.mqtt.key", "") v.SetDefault("orb.cloud.mqtt.channel_id", "") - v.SetDefault("orb.db.file", "./orb-agent.db") + v.SetDefault("orb.db.file", "/opt/orb/orb-agent.db") v.SetDefault("orb.tls.verify", true) v.SetDefault("orb.otel.enable", false) v.SetDefault("orb.debug.enable", false)