mirror of
https://github.com/itsdave-de/dockercompose-guacamole-for-msp-remoteadmin.git
synced 2025-05-06 12:05:13 +02:00
17 lines
308 B
Bash
Executable File
17 lines
308 B
Bash
Executable File
#!/bin/bash
|
|
|
|
/opt/guacamole/bin/start.sh &
|
|
|
|
# Wait for Tomcat to be fully initialized
|
|
while ! curl -sSf http://localhost:8080/guacamole >/dev/null; do
|
|
echo "Waiting for Tomcat to start..."
|
|
sleep 2
|
|
done
|
|
|
|
# Run the additional script
|
|
/opt/guacamole/bin/inject-trigger.sh
|
|
|
|
# Keep the container running
|
|
wait
|
|
|