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/start.sh
Executable file
10
scripts/start.sh
Executable 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
|
||||
Reference in New Issue
Block a user