aboutsummaryrefslogtreecommitdiffstats
path: root/community/matterbridge/matterbridge.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/matterbridge/matterbridge.initd')
-rw-r--r--community/matterbridge/matterbridge.initd15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/matterbridge/matterbridge.initd b/community/matterbridge/matterbridge.initd
new file mode 100644
index 00000000000..404e69f4eba
--- /dev/null
+++ b/community/matterbridge/matterbridge.initd
@@ -0,0 +1,15 @@
+#!/sbin/openrc-run
+
+name=matterbridge
+description="Bridges between a growing number of chat protocols"
+
+command="/usr/bin/matterbridge"
+command_args="$MATTERBRIDGE_OPTS"
+command_background=yes
+command_user=matterbridge:matterbridge
+pidfile="/run/$RC_SVCNAME.pid"
+
+depend() {
+ need net
+ after firewall
+}