fixing the part where the database is recreated

thanks @nilspupils for being awesome! :)
This commit is contained in:
Patrick McGuire
2021-11-29 19:25:21 -05:00
parent cca55a566f
commit 7dd3d723f6
+1 -1
View File
@@ -59,6 +59,6 @@ sudo -u ${USER} cp -f $(dirname ${my_dir})/templates/index_bootstrap.html ${HOME
sudo -u ${BIRDNET_USER} cp -f ${HOME}/BirdNET-Pi/homepage/index.html ${EXTRACTED}/
echo "Dropping and re-creating database"
sudo /home/pi/BirdNET-Pi/scripts/createdb.sh
sudo /home/pi/BirdNET-Pi/scripts/createdb_bullseye.sh
echo "Restarting services"
sudo systemctl restart birdnet_recording.service