use new s6-rc layout [skip ci]
This commit is contained in:
parent
92cb6aa224
commit
a4c316a485
11 changed files with 9 additions and 34 deletions
|
@ -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
|
|
@ -0,0 +1,2 @@
|
|||
confd
|
||||
synapse-keys
|
|
@ -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
|
1
rootfs/etc/s6-overlay/s6-rc.d/matrix-synapse/type
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/matrix-synapse/type
Normal file
|
@ -0,0 +1 @@
|
|||
longrun
|
1
rootfs/etc/s6-overlay/s6-rc.d/synapse-keys/dependencies
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/synapse-keys/dependencies
Normal file
|
@ -0,0 +1 @@
|
|||
confd
|
1
rootfs/etc/s6-overlay/s6-rc.d/synapse-keys/type
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/synapse-keys/type
Normal file
|
@ -0,0 +1 @@
|
|||
oneshot
|
1
rootfs/etc/s6-overlay/s6-rc.d/synapse-keys/up
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/synapse-keys/up
Normal file
|
@ -0,0 +1 @@
|
|||
synapse-keys
|
Loading…
Add table
Add a link
Reference in a new issue