2 Commits

Author SHA1 Message Date
Dave Kempe 26c75748b6 docker: stop the container when guacd or rustguac exits
The entrypoint waited for both processes, so if guacd died the container
kept running with every session failing, and a restart policy never
fired (and the same if rustguac died). Wait for whichever exits first
with bash's wait -n, stop the other, and exit with its status. Tested:
docker stop in 0.3s; killing guacd or rustguac now stops the container.

(cherry picked from commit 30f384e6efa92539c30e80263aa1afd1a21ae370)
2026-10-20 08:54:30 +11:00
Zoran Regvart 324021ed71 Refine startup/shutdown
Adds tini to manage processes launched from entrypoint.sh, namely guacd
and rustguac.

(cherry picked from commit 6d30f08176)
2026-10-20 08:54:30 +11:00