This repository has been archived on 2024-05-11. You can view files and clone it, but cannot push or open issues or pull requests.
docker-infrastruktur/mapserver/meshviewer-collector/entrypoint.sh

24 lines
408 B
Bash
Executable File

#!/bin/bash
set -e
mkdir -p /config /data
cat << EOF > "/config/config.toml"
run_every = "1m"
ignore_meshviewer = "6d"
ignore_node = "6h"
status_json = "/data/status.json"
[dataPaths]
"http://db.leipzig.freifunk.net/uptime/meshviewer.json" = "meshkit"
[yanic_connection]
type = "udp6"
address = "localhost:10011"
EOF
exec /bin/meshviewer-collector collect --config /config/config.toml