🔥: better Mastodon purge

This commit is contained in:
VC
2024-10-24 11:38:52 +02:00
parent 162c62dbb5
commit febff6025e
4 changed files with 4 additions and 17 deletions

View File

@@ -2,3 +2,5 @@
cd {{ mastodon_home }}/live
PATH={{ mastodon_home }}/bin:{{ mastodon_home }}/.local/bin:{{ mastodon_home }}/.rbenv/plugins/ruby-build/bin:{{ mastodon_home }}/.rbenv/shims:{{ mastodon_home }}/.rbenv/bin:/usr/bin:/bin
RAILS_ENV=production bin/tootctl media remove
RAILS_ENV=production bin/tootctl media remove --days=45 --prune-profiles
RAILS_ENV=production bin/tootctl preview_cards remove