mirror of
https://github.com/itsdave-de/dockercompose-guacamole-for-msp-remoteadmin.git
synced 2025-05-06 12:05:13 +02:00
17 lines
326 B
Bash
Executable File
17 lines
326 B
Bash
Executable File
#!/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
|
|
|