Central startup update (#1973)
* allow specifying authtoken in central startup * set allowManagedFrom * move redis_mem_notification to the correct place * add node checkins metric * wire up min/max connection pool size metrics
This commit is contained in:
parent
8e6e4ede6d
commit
e4cb74896b
5 changed files with 15 additions and 1 deletions
|
@ -58,6 +58,9 @@ mkdir -p /var/lib/zerotier-one
|
|||
pushd /var/lib/zerotier-one
|
||||
ln -s $ZT_IDENTITY_PATH/identity.public identity.public
|
||||
ln -s $ZT_IDENTITY_PATH/identity.secret identity.secret
|
||||
if [ -f "$ZT_IDENTITY_PATH/authtoken.secret" ]; then
|
||||
ln -s $ZT_IDENTITY_PATH/authtoken.secret authtoken.secret
|
||||
fi
|
||||
popd
|
||||
|
||||
DEFAULT_PORT=9993
|
||||
|
@ -74,6 +77,7 @@ echo "{
|
|||
\"nat64\"
|
||||
],
|
||||
\"ssoRedirectURL\": \"${ZT_SSO_REDIRECT_URL}\",
|
||||
\"allowManagementFrom\": [\"127.0.0.1\", \"::1\", \"10.0.0.0/8\"],
|
||||
${REDIS}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue