use inotifywait update snippets
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user