From 52de323638a94e71836d829d1aa7df33eac7cccc Mon Sep 17 00:00:00 2001 From: Aaron Hetherington Date: Thu, 7 Dec 2023 18:48:19 +0000 Subject: [PATCH] Add new default data directory --- pkg/workceptor/workceptor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/workceptor/workceptor.go b/pkg/workceptor/workceptor.go index a45d156a9..0abdb5e77 100644 --- a/pkg/workceptor/workceptor.go +++ b/pkg/workceptor/workceptor.go @@ -91,7 +91,7 @@ func setDataDir(dataDir string, nc NetceptorForWorkceptor) string { return path.Join(dataDir, nc.NodeID()) } - dataDir = "/var/run/receptor" + dataDir = "/var/lib/receptor" if _, err := os.Stat(dataDir); os.IsNotExist(err) { nc.GetLogger().Warning("Receptor data directory \"%s\" does not exist. Setting tmp '/tmp/receptor/", dataDir) } else {