mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 13:03:45 +02:00
allow specifying authtoken in central startup
This commit is contained in:
parent
8e6e4ede6d
commit
e6bd1e05a4
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@ mkdir -p /var/lib/zerotier-one
|
||||||
pushd /var/lib/zerotier-one
|
pushd /var/lib/zerotier-one
|
||||||
ln -s $ZT_IDENTITY_PATH/identity.public identity.public
|
ln -s $ZT_IDENTITY_PATH/identity.public identity.public
|
||||||
ln -s $ZT_IDENTITY_PATH/identity.secret identity.secret
|
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
|
popd
|
||||||
|
|
||||||
DEFAULT_PORT=9993
|
DEFAULT_PORT=9993
|
||||||
|
|
Loading…
Add table
Reference in a new issue