fix(t3code): wait for server readiness before pairing (#18849)

Co-authored-by: Philipp Seidel <info@seidel-philipp.de>
This commit is contained in:
Phillipp SeidelandPhilipp Seidel authored and GitHub committed 2026-11-19 23:15:32 +01:00
1 parent 260c581c75
commit 53c30d6d2b
1 file changed
+4 -1
+4 -1
View File
@@ -57,7 +57,10 @@ RestartSec=5
WantedBy=multi-user.target
EOF
systemctl enable -q --now t3code
sleep 5
for _ in {1..60}; do
[[ -f /opt/t3code/userdata/server-runtime.json ]] && curl -s -o /dev/null http://127.0.0.1:3773 && break
sleep 2
done
msg_ok "Created Service"
motd_ssh