diff options
author | Robin Jarry <robin@jarry.cc> | 2023-06-25 13:33:44 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-07-01 18:26:35 +0200 |
commit | 91dbd6078192e017b88bf061bb730e9d16ed5088 (patch) | |
tree | edc2f7fcf65b699cc048b5aa5476afea02ae2aed /contrib/ircbot/supybot.service | |
parent | 69094e332779a71ddd47b88bced0992c290d67e7 (diff) | |
download | aerc-91dbd6078192e017b88bf061bb730e9d16ed5088.tar.gz |
contrib: add irc bot stuff
Add a small script to install a sourcehut webhook that triggers on
patchset reception.
Add a limnoria (supybot fork) plugin to receive the webhook requests and
send IRC NOTICE messages on the proper channels.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'contrib/ircbot/supybot.service')
-rw-r--r-- | contrib/ircbot/supybot.service | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/ircbot/supybot.service b/contrib/ircbot/supybot.service new file mode 100644 index 00000000..dd127850 --- /dev/null +++ b/contrib/ircbot/supybot.service @@ -0,0 +1,19 @@ +[Unit] +Description=IRC bot +After=network.target auditd.service + +[Service] +ExecStart=/usr/bin/supybot /var/lib/supybot/supybot.conf +User=supybot +Group=supybot +WorkingDirectory=/var/lib/supybot +ProtectHome=true +ProtectSystem=strict +ReadWritePaths=/var/lib/supybot /tmp +PrivateTmp=true +SyslogIdentifier=supybot +StandardOutput=journal +StandardError=journal + +[Install] +WantedBy=multi-user.target |