add mastodon cleanup timer

This commit is contained in:
zenfyr 2026-01-07 01:36:15 +07:00
commit 46af324159
Signed by: melontini
SSH key fingerprint: SHA256:TtcIcnTnoAB5mqHofsaOxIgiMzfVBxej1AXT7DQdrTE
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,9 @@
[Unit]
Description=Mastodon Maintenance Service
Requires=mastodon-web.service
[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=/usr/bin/podman exec mastodon-web tootctl statuses remove --days 90
ExecStart=/usr/bin/podman exec mastodon-web tootctl accounts cull