diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-12-06 20:48:19 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-12-06 20:48:23 +0100 |
commit | 615f0ed66e611d8063d283dcbcf89c77e83bbaa8 (patch) | |
tree | 2ea51462019555f6a47f59ed134db26b71e49aa3 /community/synapse/synapse.post-install | |
parent | 29dd8049cf52711e0974c947c94925b188ae38b5 (diff) | |
download | aports-615f0ed66e611d8063d283dcbcf89c77e83bbaa8.tar.bz2 aports-615f0ed66e611d8063d283dcbcf89c77e83bbaa8.tar.xz |
community/synapse: move from testing
Diffstat (limited to 'community/synapse/synapse.post-install')
-rw-r--r-- | community/synapse/synapse.post-install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/community/synapse/synapse.post-install b/community/synapse/synapse.post-install new file mode 100644 index 0000000000..a3c61c5cfd --- /dev/null +++ b/community/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 |