Keep deployment moving when Caddy restart is blocked
This commit is contained in:
1 parent
eae5bc2565
commit
835996a67b
1 file changed
+1
-1
+1
-1
@@ -235,7 +235,7 @@ if [ '${COMPOSE_UP[$TARGET]}' = '1' ]; then
|
|||||||
done
|
done
|
||||||
if [ \"\$caddy_reloaded\" -ne 1 ]; then
|
if [ \"\$caddy_reloaded\" -ne 1 ]; then
|
||||||
echo \" Caddy reload failed; restarting the container to load the file.\"
|
echo \" Caddy reload failed; restarting the container to load the file.\"
|
||||||
podman restart caddy
|
podman restart caddy || true
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo '[4/5] Skipping compose restart (stack runs as bare containers on this host)'
|
echo '[4/5] Skipping compose restart (stack runs as bare containers on this host)'
|
||||||
|
|||||||
Reference in new issue
Block a user