Add net-im/matterbridge alongside associated dependencies
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
17
net-im/matterbridge/files/matterbridge.initd-r2
Normal file
17
net-im/matterbridge/files/matterbridge.initd-r2
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
|
||||
: ${MATTERBRIDGE_USER="matterbridge"}
|
||||
: ${MATTERBRIDGE_GROUP="matterbridge"}
|
||||
|
||||
supervisor="supervise-daemon"
|
||||
|
||||
command="/usr/bin/${RC_SVCNAME}"
|
||||
command_args="-conf /etc/matterbridge.toml"
|
||||
command_background="true"
|
||||
command_user="${MATTERBRIDGE_USER}:${MATTERBRIDGE_GROUP}"
|
||||
pidfile="/run/matterbridge.pid"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
Reference in New Issue
Block a user