aboutsummaryrefslogtreecommitdiff
path: root/net-im/mautrix-discord/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/mautrix-discord/files')
-rw-r--r--net-im/mautrix-discord/files/mautrix-discord.initd25
-rw-r--r--net-im/mautrix-discord/files/mautrix-discord.service12
2 files changed, 0 insertions, 37 deletions
diff --git a/net-im/mautrix-discord/files/mautrix-discord.initd b/net-im/mautrix-discord/files/mautrix-discord.initd
deleted file mode 100644
index 18c6b06..0000000
--- a/net-im/mautrix-discord/files/mautrix-discord.initd
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-name="mautrix-discord daemon"
-description="A Matrix-Discord puppeting bridge"
-module="mautrix_discord"
-
-pidfile="/run/${RC_SVCNAME}.pid"
-command="/usr/bin/mautrix-discord"
-command_args="-c /etc/mautrix/${module}.yaml -r /var/lib/mautrix/discord/registration.yaml"
-command_background=true
-command_user="mautrix-discord:mautrix"
-
-output_log="/var/log/mautrix/discord/daemon.log"
-error_log="/var/log/mautrix/discord/daemon.log"
-
-depend() {
- need net
-}
-
-start_pre() {
- checkpath -d -m 0755 -o "$command_user" /var/lib/mautrix/discord
- checkpath -f -m 0644 -o "$command_user" "$output_log"
-}
diff --git a/net-im/mautrix-discord/files/mautrix-discord.service b/net-im/mautrix-discord/files/mautrix-discord.service
deleted file mode 100644
index a9ed892..0000000
--- a/net-im/mautrix-discord/files/mautrix-discord.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=A Matrix-Discord puppeting bridge
-After=network.target
-
-[Service]
-User=mautrix-discord
-Group=mautrix
-Restart=always
-ExecStart=/usr/bin/mautrix-discord -c /etc/mautrix/mautrix_discord.yaml -r /var/lib/mautrix/discord/registration.yaml
-
-[Install]
-WantedBy=multi-user.target \ No newline at end of file