use inotifywait update snippets

This commit is contained in:
frederik
2024-01-03 14:53:46 +01:00
parent 7d416992a5
commit 19e68b5f08
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -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
}
+5
View File
@@ -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