Simplify DDClient setup

This commit is contained in:
Colin Hebert
2022-12-28 18:48:31 +01:00
parent 06795b970e
commit e19e325c65
2 changed files with 11 additions and 9 deletions

View File

@@ -21,13 +21,9 @@ file_env() {
unset "$fileVar"
}
cd /app
apk add --update gettext
file_env 'GOTIFY_TOKEN'
file_env 'CLOUDFLARE_TOKEN'
envsubst < /config/ddclient.conf.tpl > /config/ddclient.conf
/init "$@"
envsubst < /config/ddclient.conf.tpl > /ddclient.conf