s y s t e m d and also link to alphachat

This commit is contained in:
vulpine 2020-10-05 20:41:44 -04:00
parent ad8652fdf3
commit 0a69e23f93
2 changed files with 11 additions and 0 deletions

1
bot.py
View File

@ -12,6 +12,7 @@ SERVERS = [
("tilde", "irc.tilde.chat"),
("technet","mercury.technet.xi.ht"),
("vulpineawoo","irc.wppnx.pii.at"),
("alphachat","irc.alphachat.net"),
]
class Server(BaseServer):

10
relay.service Normal file
View File

@ -0,0 +1,10 @@
[Unit]
Description=xfnw channel relay bot
[Service]
ExecStart=/bin/sh -c 'cd /home/xfnw/relay/; PYTHONUNBUFFERED=1 ./bot.py'
[Install]
WantedBy=default.target