Update 91-run.sh

This commit is contained in:
Alexandre
2024-05-01 16:57:58 +02:00
committed by GitHub
parent 855b6e608a
commit 709f90ea60

View File

@@ -47,7 +47,7 @@ systemctl start systemd-journald
echo ""
bashio::log.info "Starting BirdNET-Pi services"
chmod +x "$HOME"/BirdNET-Pi/scripts/restart_services.sh
sudo -u pi "$HOME"/BirdNET-Pi/scripts/restart_services.sh
"$HOME"/BirdNET-Pi/scripts/restart_services.sh
# Correct the phpsysinfo for the correct gotty service
gottyservice="$(pgrep -l "gotty" | awk '{print $NF}' | head -n 1)"