blob: 62737c7039eaa555a4d610665cfb5d09c50363ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/sbin/openrc-run
# shellcheck shell=sh
#
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
description="Matrix-Signal puppeting bridge"
supervisor="supervise-daemon"
command="/usr/bin/mautrix-signal"
command_args="-c ${MAUTRIX_SIGNAL_CONFIG} ${MAUTRIX_SIGNAL_OPTS}"
command_user="mautrix-signal:mautrix"
pidfile="/run/mautrix-signal/${RC_SVCNAME}.pid"
depend() {
need net
use dns postgresql
}
start_pre() {
checkpath -d -o "${command_user}" /run/mautrix-signal
}
|