Skip to content

Commit

Permalink
Add new default data directory
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronH88 committed Jan 16, 2024
1 parent a37bcda commit 5cc71c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/workceptor/workceptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5cc71c0

Please sign in to comment.