diff --git a/scripts/install_services.sh b/scripts/install_services.sh index 5459bc2..740afa2 100755 --- a/scripts/install_services.sh +++ b/scripts/install_services.sh @@ -426,6 +426,8 @@ install_livestream_service() { cat << EOF > /etc/systemd/system/livestream.service [Unit] Description=BirdNET-Pi Live Stream +After=network-online.target +Requires=network-online.target [Service] Environment=XDG_RUNTIME_DIR=/run/user/1000