2
0
Fork 0
containerfiles/osm-garmin/app/daemon.sh

16 lines
288 B
Bash
Raw Normal View History

2023-09-26 03:13:31 +02:00
#!/usr/bin/env bash
. /app/utils.sh
while :
do
2023-09-26 04:12:12 +02:00
regions="europe/great-britain"
style=""
2023-09-26 03:13:31 +02:00
[[ -n "$OSMGARMIN_REGIONS" ]] && regions="$OSMGARMIN_REGIONS"
[[ -n "$OSMGARMIN_STYLE" ]] && style="$OSMGARMIN_STYLE"
2023-09-26 05:01:15 +02:00
/app/build-gmap.sh "$regions" "$style"
2023-09-26 04:41:53 +02:00
sleep 3600
2023-09-26 03:13:31 +02:00
done