mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-11 10:05:59 +02:00
Allow batnet services
This commit is contained in:
@@ -44,7 +44,7 @@ if ! grep -q "/usr/bin/sudo" "$HOME/BirdNET-Pi/templates/birdnet_analysis.servic
|
|||||||
if [[ "$(basename "$file")" != "birdnet_log.service" ]]; then
|
if [[ "$(basename "$file")" != "birdnet_log.service" ]]; then
|
||||||
sed -i "s|ExecStart=|ExecStart=/usr/bin/sudo -u pi |g" "$file"
|
sed -i "s|ExecStart=|ExecStart=/usr/bin/sudo -u pi |g" "$file"
|
||||||
fi
|
fi
|
||||||
done < <(find "$HOME/BirdNET-Pi/templates/" -name "birdnet*.service" -print)
|
done < <(find "$HOME/BirdNET-Pi/templates/" -name "*net*.service" -print)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Send services log to container logs
|
# Send services log to container logs
|
||||||
|
|||||||
Reference in New Issue
Block a user