mirror of
https://github.com/dustinbrun/openwebrx_docker_installation.git
synced 2025-11-04 15:27:32 +01:00
added docker compose and plugins for openwebrx installation
This commit is contained in:
18
docker/openwebrx/restarter/script.sh
Normal file
18
docker/openwebrx/restarter/script.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Restarter script started..."
|
||||
|
||||
while true; do
|
||||
|
||||
while [ $(date +%H:%M) != "02:00" ]; do
|
||||
sleep 30;
|
||||
done
|
||||
# Container time is UTC!!
|
||||
# sleep 86400 # Sleep for 24 hours
|
||||
|
||||
echo "Restarting Container ..."
|
||||
docker restart openwebrx_docker
|
||||
|
||||
sleep 60;
|
||||
|
||||
done
|
||||
Reference in New Issue
Block a user