mirror of
https://github.com/YunoHost-Apps/ztncui_ynh.git
synced 2024-09-03 18:06:05 +02:00
[fix] retrieve actual zerotier port
This commit is contained in:
parent
234fe49cc5
commit
c01b1ebd3d
1 changed files with 1 additions and 0 deletions
|
@ -164,6 +164,7 @@ touch $env_file
|
|||
chmod 600 $env_file
|
||||
|
||||
echo "ZT_TOKEN=$(</var/lib/zerotier-one/authtoken.secret)" >> $env_file
|
||||
echo "ZT_ADDR=localhost:$(</var/lib/zerotier-one/zerotier-one.port)" >> $env_file
|
||||
echo "HTTP_PORT=$port" >> $env_file
|
||||
|
||||
cp $final_path/src/etc/default.passwd $final_path/src/etc/passwd
|
||||
|
|
Loading…
Add table
Reference in a new issue