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

16 lines
288 B
Bash

#!/usr/bin/env bash
. /app/utils.sh
while :
do
regions="europe/great-britain"
style=""
[[ -n "$OSMGARMIN_REGIONS" ]] && regions="$OSMGARMIN_REGIONS"
[[ -n "$OSMGARMIN_STYLE" ]] && style="$OSMGARMIN_STYLE"
/app/build-gmap.sh "$regions" "$style"
sleep 3600
done