From 4ff219b5b860e6547127f8b930e958d28dfab209 Mon Sep 17 00:00:00 2001 From: StefanSchoof Date: Mon, 2 Jul 2018 11:45:39 +0000 Subject: [PATCH 1/2] Fail container on error in start.sh --- s6/debian-root/etc/cont-init.d/20-start.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/s6/debian-root/etc/cont-init.d/20-start.sh b/s6/debian-root/etc/cont-init.d/20-start.sh index 22a7092..9ced163 100644 --- a/s6/debian-root/etc/cont-init.d/20-start.sh +++ b/s6/debian-root/etc/cont-init.d/20-start.sh @@ -1,5 +1,6 @@ #!/usr/bin/with-contenv bash set +set -e bashCmd='bash -e' if [ "${PH_VERBOSE:-0}" -gt 0 ] ; then From 002c8349d2ba725a351a9c567d08627d54918cb0 Mon Sep 17 00:00:00 2001 From: StefanSchoof Date: Mon, 2 Jul 2018 18:18:01 +0000 Subject: [PATCH 2/2] remove extra set from debugging --- s6/debian-root/etc/cont-init.d/20-start.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/s6/debian-root/etc/cont-init.d/20-start.sh b/s6/debian-root/etc/cont-init.d/20-start.sh index 9ced163..e1a1f9b 100644 --- a/s6/debian-root/etc/cont-init.d/20-start.sh +++ b/s6/debian-root/etc/cont-init.d/20-start.sh @@ -1,5 +1,4 @@ #!/usr/bin/with-contenv bash -set set -e bashCmd='bash -e'