mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-03 22:34:11 +02:00
update
This commit is contained in:
@@ -20,7 +20,7 @@ echo "... set permissions to user pi"
|
|||||||
chown -R 1000:1000 /config /etc/birdnet
|
chown -R 1000:1000 /config /etc/birdnet
|
||||||
|
|
||||||
# Symlink files
|
# Symlink files
|
||||||
bashio::log.info "Ensuring files are in /config ; please customize as needed"
|
bashio::log.green "Ensuring files are in /config ; please customize as needed"
|
||||||
for files in "$HOME/BirdNET-Pi/birdnet.conf" "$HOME/BirdNET-Pi/scripts/birds.db" "$HOME/BirdNET-Pi/apprise.txt"; do
|
for files in "$HOME/BirdNET-Pi/birdnet.conf" "$HOME/BirdNET-Pi/scripts/birds.db" "$HOME/BirdNET-Pi/apprise.txt"; do
|
||||||
filename="${files##*/}"
|
filename="${files##*/}"
|
||||||
echo "... setting $filename"
|
echo "... setting $filename"
|
||||||
@@ -47,13 +47,13 @@ curl -f -L -s -S https://raw.githubusercontent.com/gdraheim/docker-systemctl-rep
|
|||||||
chmod a+x /bin/systemctl
|
chmod a+x /bin/systemctl
|
||||||
|
|
||||||
# Starting dbus
|
# Starting dbus
|
||||||
bashio::log.info "Starting system services..."
|
bashio::log.green "Starting system services..."
|
||||||
echo "... dbus"
|
echo "... dbus"
|
||||||
service dbus start
|
service dbus start
|
||||||
|
|
||||||
# Starting services
|
# Starting services
|
||||||
bashio::log.info "Starting BirdNET-Pi services"
|
bashio::log.green "Starting BirdNET-Pi services"
|
||||||
chmod +x "$HOME"/BirdNET-Pi/scripts/restart_services.sh
|
chmod +x "$HOME"/BirdNET-Pi/scripts/restart_services.sh
|
||||||
/."$HOME"/BirdNET-Pi/scripts/restart_services.sh &>/proc/1/fd/1
|
/."$HOME"/BirdNET-Pi/scripts/restart_services.sh &>/proc/1/fd/1
|
||||||
|
|
||||||
bashio::log.info "App is accessible from webui"
|
bashio::log.green "App is accessible from webui"
|
||||||
|
|||||||
Reference in New Issue
Block a user