aboutsummaryrefslogtreecommitdiff
path: root/net-im/maubot/files
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2024-05-24 14:28:17 -0400
committerJulien Roy <julien@jroy.ca>2024-05-24 14:28:17 -0400
commit8f737c17e7b9656beb2303f3bced9a6ea8e0f33c (patch)
tree01317284c0c78d76376b4181e10f2e3abc47085b /net-im/maubot/files
parentb263a40adc91b5b0da12789d61c9d78c07601d3c (diff)
downloadMrRoy-Overlay-8f737c17e7b9656beb2303f3bced9a6ea8e0f33c.tar.gz
MrRoy-Overlay-8f737c17e7b9656beb2303f3bced9a6ea8e0f33c.tar.bz2
MrRoy-Overlay-8f737c17e7b9656beb2303f3bced9a6ea8e0f33c.zip
net-im/maubot: treeclean
Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'net-im/maubot/files')
-rw-r--r--net-im/maubot/files/maubot.initd28
-rw-r--r--net-im/maubot/files/maubot.service12
2 files changed, 0 insertions, 40 deletions
diff --git a/net-im/maubot/files/maubot.initd b/net-im/maubot/files/maubot.initd
deleted file mode 100644
index f4b109d..0000000
--- a/net-im/maubot/files/maubot.initd
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-name="maubot daemon"
-description="A plugin-based Matrix bot system"
-module="maubot"
-
-pidfile="/run/${RC_SVCNAME}.pid"
-command="/usr/bin/python"
-command_args="-m ${module} -c /etc/maubot/${module}.yaml"
-command_background=true
-command_user="maubot:maubot"
-
-output_log="/var/log/maubot/maubot_daemon.log"
-error_log="/var/log/maubot/maubot_daemon.log"
-
-depend() {
- need net
-}
-
-start_pre() {
- checkpath -d -m 0755 -o "$command_user" /var/lib/maubot
- checkpath -d -m 0755 -o "$command_user" /var/lib/maubot/plugins
- checkpath -d -m 0755 -o "$command_user" /var/lib/maubot/logs
- checkpath -d -m 0755 -o "$command_user" /var/lib/maubot/trash
- checkpath -f -m 0644 -o "$command_user" "$output_log"
-}
diff --git a/net-im/maubot/files/maubot.service b/net-im/maubot/files/maubot.service
deleted file mode 100644
index 92ed035..0000000
--- a/net-im/maubot/files/maubot.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=A plugin-based Matrix bot system
-After=network.target
-
-[Service]
-User=maubot
-Group=maubot
-Restart=always
-ExecStart=/usr/bin/python -m maubot -c /etc/maubot/maubot.yaml
-
-[Install]
-WantedBy=multi-user.target \ No newline at end of file