History

feat: supervise custom box services

Ben Davis committed 3 months ago

Commit 407c6331 parent 4d1f99b17 files · +1008 −24Browse files

Showing the changes to docker (1 of 17 files). Show all

Unified · Split

docker/entrypoint.sh+4−3
@@ -1,8 +1,9 @@
11 #!/usr/bin/env bash
22 # Container PID-1 workload (run under docker --init so signals behave).
3−# Reuses guest/hb-workload verbatim: it reconciles Executor, the Hermes
4−# gateway, and the 0.0.0.0 socat bridges every 20s. tx9-logs supervises the
5−# loop process itself; Docker's restart policy supervises the container.
3+# Reuses guest/hb-workload verbatim: it reconciles custom services, Executor,
4+# the Hermes gateway, and the 0.0.0.0 socat bridges every 20s. tx9-logs
5+# supervises the loop process itself; Docker's restart policy supervises the
6+# container.
67 set -uo pipefail
78
89 trap 'exit 143' TERM