diff --git a/doc.go b/doc.go index df8c41e..e325f91 100644 --- a/doc.go +++ b/doc.go @@ -361,7 +361,7 @@ back to should an upgrade fail. Simply copying files in the data directory while mox is running can result in unusable database files. Message files never change (they are read-only, though can be removed) and are -hardlinked so they don't consume additional space. If hardlinking fails, for +hard-linked so they don't consume additional space. If hardlinking fails, for example when the backup destination directory is on a different file system, a regular copy is made. Using a destination directory like "data/tmp/backup" increases the odds hardlinking succeeds: the default systemd service file diff --git a/http/gzcache.go b/http/gzcache.go index 72f3b68..3f67465 100644 --- a/http/gzcache.go +++ b/http/gzcache.go @@ -317,7 +317,7 @@ func (w *staticgzcacheReplacer) Header() http.Header { return w.w.Header() } -// WriteHeader checks whether the response is eligable for compressing. If not, +// WriteHeader checks whether the response is eligible for compressing. If not, // WriteHeader on the underlying ResponseWriter is called. If so, headers for gzip // content are set and the gzip content is written, either from disk or compressed // and stored in the cache. diff --git a/main.go b/main.go index 50918b3..10ec02c 100644 --- a/main.go +++ b/main.go @@ -1024,7 +1024,7 @@ back to should an upgrade fail. Simply copying files in the data directory while mox is running can result in unusable database files. Message files never change (they are read-only, though can be removed) and are -hardlinked so they don't consume additional space. If hardlinking fails, for +hard-linked so they don't consume additional space. If hardlinking fails, for example when the backup destination directory is on a different file system, a regular copy is made. Using a destination directory like "data/tmp/backup" increases the odds hardlinking succeeds: the default systemd service file