aboutsummaryrefslogtreecommitdiff
path: root/net-im/heisenbridge/files/heisenbridge.initd
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/heisenbridge/files/heisenbridge.initd')
-rw-r--r--net-im/heisenbridge/files/heisenbridge.initd12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-im/heisenbridge/files/heisenbridge.initd b/net-im/heisenbridge/files/heisenbridge.initd
new file mode 100644
index 0000000..12824cd
--- /dev/null
+++ b/net-im/heisenbridge/files/heisenbridge.initd
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="heisenbridge daemon"
+description="a bouncer-style Matrix IRC bridge"
+
+pidfile="/run/${RC_SVCNAME}.pid"
+command="/usr/bin/python"
+command_args="-m heisenbridge -c ${REGISTRATION} -l ${LISTEN_ADDRESS} -p ${LISTEN_PORT} ${HOMESERVER}"
+command_background=true
+command_user="heisenbridge:heinsenbridge"