Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=Remove all Mastodon media attachments older than 7 days
- [Service]
- User=mastodon
- WorkingDirectory=/home/mastodon/live
- Environment=RAILS_ENV=production
- ExecStart=/home/mastodon/.rbenv/shims/bundle exec bin/tootctl media remove --days=7
- Restart=on-failure
- [Install]
- WantedBy=default.target
Add Comment
Please, Sign In to add comment