Skip to content

Mastodon bot that posts the entries from any RSS feed

License

Notifications You must be signed in to change notification settings

hmlendea/mastodon-rss-bot

Repository files navigation

Usage

Running in the background

Using systemd

Timer unit:

[Unit]
Description=Periodically activates the RSS bot for Mastodon

[Timer]
OnBootSec=15min
OnUnitActiveSec=25min

[Install]
WantedBy=timers.target

Service unit:

[Unit]
Description=RSS bot for Mastodon
After=network.target

[Service]
WorkingDirectory=/home/horatiu/bots/mastodon-rss-bot
ExecStart=/bin/bash /home/horatiu/bots/mastodon-rss-bot/run.sh
User=horatiu
RuntimeMaxSec=60

[Install]
WantedBy=multi-user.target

Credits

cquest/tootbot the original script this bot is based on