source/projects/public_dns/update.sh

10 lines
283 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2022-02-21 23:33:39 +00:00
cd "$(dirname $(realpath "$0"))"
2024-08-09 05:16:57 +00:00
[ ! -f ./config.yml ] && op inject --in-file ./config.yml.in --out-file ./config.yml
2024-05-14 04:31:23 +00:00
exec bazel run //projects/public_dns:updater -- \
--config $(realpath ./config.yml) \
--templates $(realpath src/resources/zonefiles)