This commit is contained in:
zand
2026-09-08 17:18:05 +02:00
commit 364544d77e
11 changed files with 704 additions and 0 deletions
@@ -0,0 +1,12 @@
[Unit]
Description=Update Mastodon disposable email domain blocks
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
EnvironmentFile=/etc/mastodon-email-blocker/native.env
ExecStart=/opt/mastodon-email-blocker/venv/bin/python /opt/mastodon-email-blocker/mastodon-email-blocker.py --backend native --mastodon-dir ${MASTODON_DIR} --ruby-bin ${RUBY_BIN} --mx-mode off
ReadWritePaths=/var/lib/mastodon-email-blocker
ReadOnlyPaths=/etc/mastodon-email-blocker
TimeoutStartSec=infinity