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

5
rootfs/bin/synapse-keys Executable file
View file

@ -0,0 +1,5 @@
#!/bin/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