mirror of
https://github.com/jung-geun/DynamicDNS-SSL.git
synced 2025-12-20 04:50:45 +09:00
Refactor file paths in Makefile, run_script.sh, and start.sh
This commit is contained in:
@@ -1,7 +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 /app/cloudflare-ddns/src/update_dns.py $@
|
||||
python3 $DIR/src/update_dns.py $@
|
||||
Reference in New Issue
Block a user