Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Geth pruning
#!/usr/bin/env bash
# RUN AS SUDO
systemctl stop geth &&
sudo -u geth geth --datadir /my/data/dir snapshot prune-state &&
systemctl start geth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment