mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2026-11-25 15:18:15 +00:00
fix(t3code): wait for server readiness before pairing (#18849)
Co-authored-by: Philipp Seidel <info@seidel-philipp.de>
This commit is contained in:
1 parent
260c581c75
commit
53c30d6d2b
1 file changed
+4
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user