diff --git a/scripts/birdnet_analysis.sh b/scripts/birdnet_analysis.sh index 048f77f..a7cc326 100755 --- a/scripts/birdnet_analysis.sh +++ b/scripts/birdnet_analysis.sh @@ -16,7 +16,7 @@ if ! diff ${LAST_RUN} ${THIS_RUN};then echo "The birdnet.conf file has changed" echo "Reloading services" cat ${THIS_RUN} > ${LAST_RUN} - until restart_birdnet.sh;do + until restart_services.sh;do sleep 1 done fi diff --git a/scripts/index.html b/scripts/index.html index 0e158b2..2fe3bd7 100644 --- a/scripts/index.html +++ b/scripts/index.html @@ -22,3 +22,7 @@ +
+ diff --git a/scripts/restart_services.php b/scripts/restart_services.php index f6be0aa..26329a4 100644 --- a/scripts/restart_services.php +++ b/scripts/restart_services.php @@ -1,4 +1,4 @@ diff --git a/scripts/restart_birdnet.sh b/scripts/restart_services.sh similarity index 100% rename from scripts/restart_birdnet.sh rename to scripts/restart_services.sh diff --git a/scripts/shutdown_system.php b/scripts/shutdown_system.php new file mode 100644 index 0000000..b765831 --- /dev/null +++ b/scripts/shutdown_system.php @@ -0,0 +1,4 @@ + diff --git a/scripts/shutdown_system.sh b/scripts/shutdown_system.sh new file mode 100755 index 0000000..d2eff34 --- /dev/null +++ b/scripts/shutdown_system.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +sudo shutdown now diff --git a/scripts/uninstall.sh b/scripts/uninstall.sh index c8f2f53..12de144 100755 --- a/scripts/uninstall.sh +++ b/scripts/uninstall.sh @@ -25,12 +25,12 @@ restart_birdnet_analysis.php restart_birdnet_analysis.sh restart_birdnet_recording.php restart_birdnet_recording.sh -restart_birdnet.sh restart_caddy.php restart_caddy.sh restart_extraction.php restart_extraction.sh restart_services.php +restart_services.sh species_notifier.sh uninstall.sh update_species.sh