Clips folders: create an empty .stlocal with the folder (Syncthing refuses to scan while the #include target is missing)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2026-11-01 19:08:58 -06:00
parent 2078a53419
commit f32730ba94
5 changed files with 8 additions and 3 deletions

View File

@@ -45,6 +45,7 @@ install -d -o "$OWNER" /srv/live # live portal static build (dep
install -d -o 1000 -g 1000 /srv/media/streams/{techy,diceofire} /srv/media/clips/{techy,diceofire}
for d in /srv/media/clips/*/; do
[[ -e "$d/.stignore" ]] || install -m 0644 -o 1000 -g 1000 syncthing/stignore "$d/.stignore"
[[ -e "$d/.stlocal" ]] || install -m 0644 -o 1000 -g 1000 /dev/null "$d/.stlocal" # #include'd by .stignore
done
echo "== host scripts + units"