fix: default storage to $HOME/nvr_data, not /mnt/recordings

This commit is contained in:
Claus Lohmar 2026-08-06 19:43:01 +01:00
parent dc236e561d
commit 2f656aaa40
2 changed files with 2 additions and 2 deletions

View file

@ -88,7 +88,7 @@ func DefaultConfig() Config {
ViewerPort: ":8090", ViewerPort: ":8090",
}, },
Storage: StorageConfig{ Storage: StorageConfig{
RecordingsPath: "/mnt/recordings", RecordingsPath: os.Getenv("HOME") + "/nvr_data",
RetentionDays: 7, RetentionDays: 7,
CleanupIntervalMins: 60, CleanupIntervalMins: 60,
}, },

View file

@ -5,7 +5,7 @@
"viewer_port": ":8090" "viewer_port": ":8090"
}, },
"storage": { "storage": {
"recordings_path": "/mnt/recordings", "recordings_path": "/home/master/nvr_data",
"retention_days": 7, "retention_days": 7,
"cleanup_interval_mins": 60 "cleanup_interval_mins": 60
}, },