Update README and relay.service

This commit is contained in:
hedy 2024-04-04 12:46:59 +00:00
parent 2412ddd076
commit c556a43d99
2 changed files with 26 additions and 7 deletions

View File

@ -1,11 +1,24 @@
a multi chan irc relay in python
**IRC Relay**
multi chan part doesn't actually show the chan though, I think
A multi chan irc relay in python
use at your own risk
Multi chan part doesn't actually show the chan though, I think
in active development
Use at your own risk
prone to netsplits
In active development
I think that's al
Prone to netsplits (but you can let your service auto-retry when it exits)
I think that's all.
**Setup**
- Clone repo
- Set up virtualenv
- Install `requirements.txt`
- `cp config.example.py config.py`
- Edit the config
- Copy and adapt `relay.service`
- ???
- Profit

View File

@ -2,7 +2,13 @@
Description=hedy channel relay bot
[Service]
ExecStart=/bin/sh -c 'cd /home/hedy/stuff/hedy-relay/; /bin/python3 main.py'
Type=simple
Restart=always
RestartSec=5
User=relay
Group=relay
WorkingDirectory=/home/relay/services/relay
ExecStart=/home/relay/services/relay/venv/bin/python3 main.py
[Install]
WantedBy=default.target