mirror of
https://github.com/jung-geun/DynamicDNS-SSL.git
synced 2025-12-19 20:44:40 +09:00
Refactor file paths and update cronjob for Cloudflare DDNS
This commit is contained in:
10
scripts/run_script.sh
Executable file
10
scripts/run_script.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
export CLOUDFLARE_API_KEY=$API_KEY
|
||||
export CLOUDFLARE_DOMAIN=$DOMAIN_NAME
|
||||
export CLOUDFLARE_ZONE_ID=$ZONE_ID
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
# Run the script
|
||||
python3 $DIR/../src/update_dns.py $@
|
||||
Reference in New Issue
Block a user