2023-01-29 19:46:47 +00:00

11 lines
285 B
Bash

#!/usr/bin/env bash
set -ex
cd /opt/mastodon
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 cache clear