relay

Log | Files | Refs

commit 0a69e23f93fb227533b34f1e14216b0e5d7c77f2
parent ad8652fdf34635a6a62388cb48cf5b1e4947206d
Author: xfnw <xfnw@ttm.sh>
Date:   Mon,  5 Oct 2020 20:41:44 -0400

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

Diffstat:
Mbot.py | 1+
Arelay.service | 10++++++++++
2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/bot.py b/bot.py @@ -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): diff --git a/relay.service b/relay.service @@ -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 + +