]> Sergey Matveev's repositories - public-inbox.git/blobdiff - examples/grok-pull.post_update_hook.sh
examples: add imapd systemd examples
[public-inbox.git] / examples / grok-pull.post_update_hook.sh
index ec4ae93e829dc93eee66b3dbfc4a58bd28c49e4b..1f51140ffbd139b57d41065e619a4115173ee841 100755 (executable)
@@ -108,7 +108,7 @@ case $cfg_dir in
                git config -f "$PI_CONFIG" \
                        "publicinbox.$inbox_name.infourl" "$url"
        done
-       curl -sSfv "remote_inbox_url"/description >"$inbox_dir"/description
+       curl -sSfv "$remote_inbox_url"/description >"$inbox_dir"/description
        echo "I: $inbox_name at $inbox_dir ($addresses) $local_url"
        ;;
 esac
@@ -124,7 +124,9 @@ then
                : v2 inboxes may be init-ed with an empty msgmap
                ;;
        *)
-               # if on HDD and limited RAM, add `-j0' w/ public-inbox 1.6.0+
+               # if on HDD and limited RAM, add `--sequential-shard'
+               # and possibly a large `--batch-size' if you have much
+               # memory in public-inbox 1.6.0+
                $EATMYDATA public-inbox-index -v "$inbox_dir"
                ;;
        esac