use new s6-rc layout [skip ci]

This commit is contained in:
Sebastian Hugentobler 2022-02-16 08:50:40 +01:00
parent 92cb6aa224
commit a4c316a485
Signed by: shu
GPG key ID: BB32CF3CA052C2F0
11 changed files with 9 additions and 34 deletions

View file

@ -1,5 +0,0 @@
#!/usr/bin/with-contenv sh
if [ ! -f /var/lib/matrix-synapse/signing/signing.key ]; then
s6-setuidgid matrix-synapse python3 -B -m synapse.app.homeserver -c /var/lib/matrix-synapse/server.yaml --generate-config -H $SERVER_NAME --report-stats=no
fi

View file

@ -0,0 +1,2 @@
confd
synapse-keys

View file

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv sh
#!/bin/sh
cd /var/lib/matrix-synapse
s6-setuidgid matrix-synapse python3 -B -m synapse.app.homeserver -c server.yaml

View file

@ -0,0 +1 @@
longrun

View file

@ -0,0 +1 @@
confd

View file

@ -0,0 +1 @@
oneshot

View file

@ -0,0 +1 @@
synapse-keys