This repository has been archived on 2025-12-03. You can view files and clone it, but cannot push or open issues or pull requests.
cloudflare-ddns/start-sync.sh
2021-10-29 23:15:05 -04:00

11 lines
259 B
Bash
Executable File

#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
python3 -m venv venv
source ./venv/bin/activate
set -o pipefail; pip install -r requirements.txt | { grep -v "already satisfied" || :; }
cd $DIR
python3 cloudflare-ddns.py