Fix authtoken.secret file path (#143)

This commit is contained in:
Eddy Daoud
2022-03-15 13:04:58 +02:00
committed by GitHub
Unverified
parent 98b15e1d36
commit 48d9c38d7c

View File

@@ -42,7 +42,7 @@ bashio::log.info "ZeroTier node address: ${node}"
# Sets the auth token for the local JSON API
if bashio::config.has_value 'api_auth_token'; then
token=$(bashio::config 'api_auth_token')
echo "${token}" > /data/authtoken.secret
echo "${token}" > /var/lib/zerotier-one/authtoken.secret
fi
# Ensure network folder exists