From 91dbd6078192e017b88bf061bb730e9d16ed5088 Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Sun, 25 Jun 2023 13:33:44 +0200 Subject: 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 Acked-by: Bence Ferdinandy --- contrib/ircbot/supybot.service | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 contrib/ircbot/supybot.service (limited to 'contrib/ircbot/supybot.service') 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 -- cgit