Refactor file paths and update cronjob for Cloudflare DDNS

This commit is contained in:
2024-09-21 20:54:28 +00:00
parent a0bf2baa1a
commit 9d187d21f5
15 changed files with 353 additions and 116 deletions

10
scripts/start.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ ! -f $DIR/../config/env.json ]; then
cp $DIR/../config/default_env.json $DIR/../config/env.json
fi
$DIR/run_script.sh
tail -f /var/log/cloudflare_ddns.log