From 2c06a104773460fb1f90b1709b25d013da0d5f36 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 17 Oct 2024 16:55:58 +0200 Subject: [PATCH] Update 81-modifications.sh --- battybirdnet-pi/rootfs/etc/cont-init.d/81-modifications.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/battybirdnet-pi/rootfs/etc/cont-init.d/81-modifications.sh b/battybirdnet-pi/rootfs/etc/cont-init.d/81-modifications.sh index 4452482101f..781cb558e09 100755 --- a/battybirdnet-pi/rootfs/etc/cont-init.d/81-modifications.sh +++ b/battybirdnet-pi/rootfs/etc/cont-init.d/81-modifications.sh @@ -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"