aboutsummaryrefslogtreecommitdiff
path: root/net-im/mautrix-slack/files/mautrix-slack.initd
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2023-01-27 12:17:03 -0500
committerJulien Roy <julien@jroy.ca>2023-01-27 12:17:03 -0500
commita232577dd263802f44de08d35900b895583904c7 (patch)
tree6b0836a9f2743e682dc5048bc1ecb0b7ed7ec189 /net-im/mautrix-slack/files/mautrix-slack.initd
parent05b73e92906535872fd2a86b291935e310df24b8 (diff)
downloadMrRoy-Overlay-a232577dd263802f44de08d35900b895583904c7.tar.gz
MrRoy-Overlay-a232577dd263802f44de08d35900b895583904c7.tar.bz2
MrRoy-Overlay-a232577dd263802f44de08d35900b895583904c7.zip
net-im/mautrix-slack: treeclean
Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'net-im/mautrix-slack/files/mautrix-slack.initd')
-rw-r--r--net-im/mautrix-slack/files/mautrix-slack.initd25
1 files changed, 0 insertions, 25 deletions
diff --git a/net-im/mautrix-slack/files/mautrix-slack.initd b/net-im/mautrix-slack/files/mautrix-slack.initd
deleted file mode 100644
index d971fc5..0000000
--- a/net-im/mautrix-slack/files/mautrix-slack.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-slack daemon"
-description="A Matrix-Slack puppeting bridge"
-module="mautrix_slack"
-
-pidfile="/run/${RC_SVCNAME}.pid"
-command="/usr/bin/mautrix-slack"
-command_args="-c /etc/mautrix/${module}.yaml -r /var/lib/mautrix/slack/registration.yaml"
-command_background=true
-command_user="mautrix-slack:mautrix"
-
-output_log="/var/log/mautrix/slack/daemon.log"
-error_log="/var/log/mautrix/slack/daemon.log"
-
-depend() {
- need net
-}
-
-start_pre() {
- checkpath -d -m 0755 -o "$command_user" /var/lib/mautrix/slack
- checkpath -f -m 0644 -o "$command_user" "$output_log"
-}