hosting:docker:caddy_caddyfile_inode_bug
Differences
This shows you the differences between two versions of the page.
| hosting:docker:caddy_caddyfile_inode_bug [2026/10/07 05:47] – created - external edit 127.0.0.1 | hosting:docker:caddy_caddyfile_inode_bug [2026/10/23 15:28] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 49: | Line 49: | ||
| rsync. This preserves the inode while updating the content: | rsync. This preserves the inode while updating the content: | ||
| - | cat / | + | cat / |
| Or use rsync with the --inplace flag, which writes directly to the existing | Or use rsync with the --inplace flag, which writes directly to the existing | ||
| file without creating a temp file: | file without creating a temp file: | ||
| - | rsync --inplace -avz -e "ssh -i ~/.ssh/id_ed25519_brennanbrown_ca" \ | + | rsync --inplace -avz -e "ssh -i ~/.ssh/id_ed25519" \ |
| server/ | server/ | ||
| - | | + | |
| After either of these, caddy reload will work correctly without a restart. | After either of these, caddy reload will work correctly without a restart. | ||
| Line 62: | Line 62: | ||
| ===== Correct Deployment Procedure ===== | ===== Correct Deployment Procedure ===== | ||
| - | rsync --inplace -avz -e "ssh -i ~/.ssh/id_ed25519_brennanbrown_ca" \ | + | rsync --inplace -avz -e "ssh -i ~/.ssh/id_ed25519" \ |
| server/ | server/ | ||
| - | | + | |
| docker exec folkzone-caddy caddy reload --config / | docker exec folkzone-caddy caddy reload --config / | ||
| Line 70: | Line 70: | ||
| Or if you forget --inplace and already ran a plain rsync: | Or if you forget --inplace and already ran a plain rsync: | ||
| - | docker compose -f / | + | docker compose -f ~/ |
hosting/docker/caddy_caddyfile_inode_bug.1791373643.txt.gz · Last modified: by 127.0.0.1
