Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ To start the bot, run:
python2 main.py
```

If you want to run this as a systemd service, you can use the `rss2irc.service` file after adjusting the paths in there.

# Adding feeds
To add a new feed, edit the `feeds.sql` and import it to your sqlite database:

Expand Down
10 changes: 10 additions & 0 deletions rss2irc.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Unit]
Description=Rss2Irc Bot

[Service]
KillMode=process
User=rss2irc #Change to your username
ExecStart=/PATH-TO-THE-REPO/venv/bin/python /PATH-TO-THE-REPO/main.py #Replace PATH-TO-THE-REPO with the absolute path to the repository.

[Install]
WantedBy=multi-user.target