We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3e529e commit 224c807Copy full SHA for 224c807
1 file changed
deploy/skopos-test/remote-sync.sh
@@ -35,7 +35,10 @@ rsync -avz --delete \
35
"${REPO}/skopos/docs/landing/" "${METIS_HOST}:${LANDING_REMOTE}/"
36
37
echo "[sync] nginx.conf → ${METIS_HOST}:${NGINX_REMOTE}"
38
-rsync -avz \
+# --inplace: the file is bind-mounted into metis-nginx; a rename-style update
39
+# creates a new inode the container never sees, so the in-container `nginx -t`
40
+# below would validate the STALE config while restart applies the new one.
41
+rsync -avz --inplace \
42
"${REPO}/metis/deploy/nginx.conf" "${METIS_HOST}:${NGINX_REMOTE}"
43
44
# Ensure probe key exists, distribute to factory/oracle, then build + start stack.
0 commit comments