working i think

This commit is contained in:
2022-11-07 23:39:50 +05:00
commit 7218680efa
5 changed files with 87 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#!/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

View File

@ -0,0 +1,9 @@
#!/bin/bash
#auto configs
if ! [ -f /root/init/init ]
then /root/auto_config.sh
fi
cd /root/synapse
source /root/env/bin/activate
synctl start --no-daemonize