main
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user