diff --git a/scripts/install_services.sh b/scripts/install_services.sh index 1cac431..4173cdd 100755 --- a/scripts/install_services.sh +++ b/scripts/install_services.sh @@ -20,7 +20,7 @@ install_depends() { apt install -qqy caddy ftpd sqlite3 php-sqlite3 alsa-utils \ pulseaudio avahi-utils sox libsox-fmt-mp3 php php-fpm php-curl php-xml \ php-zip icecast2 swig ffmpeg wget unzip curl cmake make bc libjpeg-dev \ - zlib1g-dev python3-dev python3-pip python3-venv lsof net-tools gcc python3-dev + zlib1g-dev python3-dev python3-pip python3-venv lsof net-tools gcc python3-dev inotify-tools } diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.sh index 4f8d150..494a3fe 100755 --- a/scripts/update_birdnet_snippets.sh +++ b/scripts/update_birdnet_snippets.sh @@ -66,6 +66,11 @@ fi ensure_python_package inotify inotify +if ! which inotifywait &>/dev/null;then + ensure_apt_updated + apt-get -y install inotify-tools +fi + remove_unit_file birdnet_server.service /usr/local/bin/server.py remove_unit_file extraction.service /usr/local/bin/extract_new_birdsounds.sh