summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/synapse/files/synapse.initd')
-rw-r--r--net-im/synapse/files/synapse.initd10
1 files changed, 10 insertions, 0 deletions
diff --git a/net-im/synapse/files/synapse.initd b/net-im/synapse/files/synapse.initd
new file mode 100644
index 000000000000..e8e494c722c0
--- /dev/null
+++ b/net-im/synapse/files/synapse.initd
@@ -0,0 +1,10 @@
+#!/sbin/openrc-run
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="Matrix synapse daemon"
+description=""
+command=/usr/bin/synapse_homeserver
+command_args="--daemonize --config-path /etc/synapse/homeserver.yaml"
+pidfile=/var/lib/synapse/homeserver.pid
+start_stop_daemon_args="--user synapse --group synapse"