mirror of
https://github.com/itsdave-de/dockercompose-guacamole-for-msp-remoteadmin.git
synced 2025-12-19 16:41:13 -03:00
init repo
This commit is contained in:
16
docker-guacamole-custom/files/entrypoint.sh
Executable file
16
docker-guacamole-custom/files/entrypoint.sh
Executable 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
|
||||
|
||||
Reference in New Issue
Block a user