Prune mastodon accounts and orphan media
This commit is contained in:
parent
b7d90cee98
commit
56b846f38c
@ -4,7 +4,9 @@ set -ex
|
||||
|
||||
cd /opt/mastodon
|
||||
|
||||
docker-compose exec mastodon tootctl accounts prune
|
||||
docker-compose exec mastodon tootctl media remove --days=7
|
||||
docker-compose exec mastodon tootctl statuses remove --days=7
|
||||
docker-compose exec mastodon tootctl preview_cards remove --days=7
|
||||
docker-compose exec mastodon tootctl media remove-orphans
|
||||
docker-compose exec mastodon tootctl cache clear
|
||||
|
Loading…
x
Reference in New Issue
Block a user