Browse Source

delete tmp files of whoosh

master
René Wagner 7 months ago
parent
commit
f6c3526288
  1. 1
      infra/update_index.sh

1
infra/update_index.sh

@ -1,6 +1,7 @@
cp -r /home/gus/index /home/gus/index.new
/home/gus/.poetry/bin/poetry run build_index
rm -rf /home/gus/index.old
rm -rf /home/gus/index.new/MAIN.tmp/
mv /home/gus/index /home/gus/index.old
mv /home/gus/index.new /home/gus/index
sudo systemctl restart gus

Loading…
Cancel
Save