1
0
Fork 0
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:
tituspijean 2020-03-21 00:11:35 +01:00
parent 234fe49cc5
commit c01b1ebd3d

View file

@ -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