#!/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
