diff --git a/config.yaml b/config.yaml index d4119f2..e17ae45 100644 --- a/config.yaml +++ b/config.yaml @@ -7,7 +7,7 @@ server: viewer_port: ":8090" storage: - recordings_path: "/mnt/recordings" + recordings_path: "" retention_days: 7 cleanup_interval_mins: 60 diff --git a/setup.sh b/setup.sh index ddf3505..f462b15 100755 --- a/setup.sh +++ b/setup.sh @@ -149,8 +149,8 @@ log "Step 1c/7: Where should recordings be stored?" info " This is where video clips and snapshots will be saved." info " Examples: /mnt/recordings, /home/user/nvr, /media/usb-drive" echo "" -read -p " Storage path [/mnt/recordings]: " STORAGE_PATH -STORAGE_PATH="${STORAGE_PATH:-/mnt/recordings}" +read -p " Storage path [${HOME}/nvr_data]: " STORAGE_PATH +STORAGE_PATH="${STORAGE_PATH:-${HOME}/nvr_data}" # Strip trailing slash. STORAGE_PATH="${STORAGE_PATH%/}"