init repo

This commit is contained in:
root
2024-05-30 12:09:36 +00:00
commit 373bfe13aa
9 changed files with 2031 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#!/bin/bash
/opt/guacamole/bin/start.sh &
# Esperar que o Tomcat esteja totalmente inicializado
while ! curl -sSf http://localhost:8080/guacamole >/dev/null; do
echo "Aguardando Tomcat iniciar..."
sleep 2
done
# Executar o script adicional
/opt/guacamole/bin/inject-trigger.sh
# Manter o container em execução
wait