#! /bin/sh
image=qmcgaw/ddns-updater
[ -f upgrade ] && podman pull $image && rm upgrade
me=$(basename $(pwd))
podman rm $me
podman run \
--name $me \
--network homelab \
--dns 1.1.1.1 \
--volume /srv/sys/ddns-updater:/updater/data \
$image