diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2019-08-01 17:47:40 -0300 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2019-08-05 09:25:31 -0300 |
| commit | 1e8d91a75e69816000c301a24b01bf0436e4873b (patch) | |
| tree | 8c26562863f7cc11f57a30d2fe827e4e2fe125b1 /testing/synapse/synapse.post-install | |
| parent | 10b99186fd6f57c06e68339f96069f0354db9d9f (diff) | |
| download | aports-1e8d91a75e69816000c301a24b01bf0436e4873b.tar.bz2 aports-1e8d91a75e69816000c301a24b01bf0436e4873b.tar.xz | |
testing/synapse: new aport
https://github.com/matrix-org/synapse
Matrix reference homeserver
Diffstat (limited to 'testing/synapse/synapse.post-install')
| -rw-r--r-- | testing/synapse/synapse.post-install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/synapse/synapse.post-install b/testing/synapse/synapse.post-install new file mode 100644 index 0000000000..a3c61c5cfd --- /dev/null +++ b/testing/synapse/synapse.post-install @@ -0,0 +1,11 @@ +#!/bin/sh + +if [ ! -e etc/synapse/homeserver.yaml ]; then + python3 -m synapse.app.homeserver \ + --server-name my.domain.name \ + --config-path /etc/synapse/homeserver.yaml \ + --generate-config \ + --report-stats=yes 2>/dev/null +fi + +exit 0 |
