Update reset.sh

This commit is contained in:
Minecon724 2025-04-12 08:40:27 +02:00
commit ad4771359f

View file

@ -1,8 +1,11 @@
#!/bin/bash
cd "$(dirname "$0")"
. .env
# Uncomment if rotating IPv6
# echo "Rotating IP..."
# python3 smart-ipv6-rotator/smart-ipv6-rotator.py run --ipv6range=2001:db8::/32
if [ -n $IPV6_SUBNET ]; then
echo "Rotating IP..."
python3 smart-ipv6-rotator/smart-ipv6-rotator.py run --ipv6range=$IPV6_SUBNET
fi
echo "Updating..."
docker compose pull