fix: make chicken-dashboard.service dynamic, add install_service.sh, and add sibling VIDEOS startup checks

This commit is contained in:
proitlab committed 2026-08-19 12:14:20 +07:00
1 parent acd9c9265b
commit 9f4fc138ba
5 files changed
+83 -13

No files matched your search

+6 -1
View File
@@ -23,7 +23,12 @@ for cfg in $(ls -1 "$SCRIPT_DIR/configs/floor_config/"K*-L*.yaml 2>/dev/null | s
continue
fi
CONFIGS+=("configs/floor_config/$(basename "$cfg")")
done
# Startup check: Ensure sibling VIDEOS directory exists
VIDEOS_BASE="$SCRIPT_DIR/../VIDEOS"
if [ ! -d "$VIDEOS_BASE" ]; then
echo "[setup] 📁 Sibling directory '$VIDEOS_BASE' not found; creating directory skeleton..."
mkdir -p "$VIDEOS_BASE/cycle7"
fi
echo "================================================================="
echo " Starting Multi-Floor Batch Processing for Date: $DATE"