#!/bin/bash cd /root/synapse source /root/env/bin/activate python -m synapse.app.homeserver \ --server-name $SERVERNAME \ --config-path homeserver.yaml \ --generate-config \ --report-stats=$REPORTSTATUS touch /root/init/init