https://github.com/mubelotix/mastodon-report-watcher
https://github.com/mubelotix/mastodon-report-watcher
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mubelotix/mastodon-report-watcher
- Owner: Mubelotix
- Created: 2024-01-09T14:53:52.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-25T22:23:47.000Z (over 1 year ago)
- Last Synced: 2025-02-01T04:21:43.584Z (8 months ago)
- Language: Rust
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## mastodon-report-watcher
Service providers in the European Union are required to moderate content in under 24 hours. To make sure I don't go in jail in case I'm not able to moderate content in time, I've created this script that checks for reports on my Mastodon instance and shuts down the instance when the deadline is reached before the report is resolved.
### Config
Please add this line to your /etc/sudoers file, after replacing `user` and `mastodon-service` with the appropriate values:
```
user ALL=(ALL) NOPASSWD: /usr/bin/systemctl stop mastodon-service
```