diff options
| author | Paul Buetow <paul@buetow.org> | 2026-07-03 19:53:23 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-07-03 19:53:23 +0300 |
| commit | 9c4c280d829f4fa91e7bb548410caa9c2eab2f8c (patch) | |
| tree | a74e96c2abc71454455cce4f9b8917aa2402765c /internal | |
| parent | 4365f9b1e4d99c119df676b54c6d707e19951a37 (diff) | |
Fix --sync remote path and permissions after pi0/pi1 NetBSD migration
The default sync target directory was still /var/www/html/snonux/, but that
directory was renamed to snonux.foo/ on both pi0 and pi1 as part of a
bozohttpd vhost fix. Also add --chmod=D755,F644 to the rsync invocation:
locally-generated output is mode 600, which lighttpd apparently tolerated
but bozohttpd's separate _httpd service user does not (403 Forbidden).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/config/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/config/config.go b/internal/config/config.go index f310a6f..d2042f5 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -33,6 +33,6 @@ type Config struct { SyncTargets []string // SyncRemoteDir is the destination directory on each target host. - // Defaults to "/var/www/html/snonux/". Override with SNONUX_SYNC_REMOTE_DIR env var. + // Defaults to "/var/www/html/snonux.foo/". Override with SNONUX_SYNC_REMOTE_DIR env var. SyncRemoteDir string } |
