Update telemt-test.sh

This commit is contained in:
xVRVx
2026-07-26 18:12:38 +03:00
committed by GitHub
parent a562bba96f
commit 57556cce53

View File

@@ -91,11 +91,12 @@ WantedBy=multi-user.target
EOF
systemctl daemon-reload
sleep 1
sleep 2
systemctl start telemt
systemctl enable telemt
sleep 3
sleep 4
telemtSecret=$(curl -s http://127.0.0.1:9091/v1/users | jq -r '.data[0].links.tls[0] | split("secret=")[1]')
echo telemtSecret = $telemtSecret
MTProto="tg://proxy?server=$DOMAIN&port=443&secret=$telemtSecret"
MTProto="tg://proxy?server=$DOMAIN&port=443&secret=$telemtSecret"