mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
update
This commit is contained in:
@@ -20,7 +20,7 @@ echo "... set permissions to user pi"
|
||||
chown -R 1000:1000 /config /etc/birdnet
|
||||
|
||||
# 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
|
||||
filename="${files##*/}"
|
||||
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
|
||||
|
||||
# Starting dbus
|
||||
bashio::log.info "Starting system services..."
|
||||
bashio::log.green "Starting system services..."
|
||||
echo "... dbus"
|
||||
service dbus start
|
||||
|
||||
# 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
|
||||
/."$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