Update 81-modifications.sh

This commit is contained in:
Alexandre
2024-10-17 16:55:58 +02:00
committed by GitHub
parent e14aee13da
commit 2c06a10477

View File

@@ -23,7 +23,7 @@ while IFS= read -r file; do
if [[ "$(basename "$file")" != "birdnet_log.service" ]]; then
sed -i "s|ExecStart=|ExecStart=/usr/bin/sudo -u pi |g" "$file"
fi
done < <(find "$HOME/BirdNET-Pi/templates/" -name "birdnet*.service" -print)
done < <(find "$HOME/BirdNET-Pi/templates/" -name "b*.service" -print)
# Send services log to container logs
echo "... redirecting services logs to container logs"