Update README and relay.service
This commit is contained in:
parent
2412ddd076
commit
c556a43d99
25
README.md
25
README.md
|
@ -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
|
||||||
|
|
|
@ -2,7 +2,13 @@
|
||||||
Description=hedy channel relay bot
|
Description=hedy channel relay bot
|
||||||
|
|
||||||
[Service]
|
[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]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|
Loading…
Reference in New Issue