aboutsummaryrefslogtreecommitdiffstats
path: root/community/synapse/synapse.post-install
blob: a3c61c5cfd0ccd1870063b5ff479f97ed29ad54b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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