diff options
Diffstat (limited to 'testing/synapse/synapse.initd')
-rw-r--r-- | testing/synapse/synapse.initd | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/testing/synapse/synapse.initd b/testing/synapse/synapse.initd deleted file mode 100644 index f5b46369f29..00000000000 --- a/testing/synapse/synapse.initd +++ /dev/null @@ -1,23 +0,0 @@ -#!/sbin/openrc-run -supervisor=supervise-daemon - -name="synapse" -description="Daemon for Synapse, the Matrix reference homeserver" - -: ${command_user:="synapse:synapse"} -: ${config:="/etc/synapse/homesever.yaml"} - -command="/usr/bin/python3" -command_args="-m synapse.app.homeserver --config-path=$config $command_args" - -pidfile="/run/${RC_SVCNAME}.pid" - -depends() { - need net -} - -start_pre() { - # /var/lib/synapse needs to be owned by the synapse user and so does the config location - checkpath --directory --owner "$command_user" /var/lib/synapse - checkpath --file --owner "$command_user" $config -} |