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