Add DENOTE_9MOUNT env var for mount path

This commit is contained in:
Levi Neely 2026-03-20 17:18:14 +01:00
parent c5c2c4ab1d
commit 4f2a6423b0
1 changed files with 3 additions and 0 deletions

View File

@ -150,6 +150,9 @@ func runServer(sockPath, pidPath string) {
// Setup FUSE mount
mnt := *mountPath
if mnt == "" {
mnt = os.Getenv("DENOTE_9MOUNT")
}
if mnt == "" {
mnt = filepath.Join(os.Getenv("HOME"), "mnt", "denote")
}