mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 15:19:39 +03:00
7a15acf224
instead of getting dependencies from synapse/master and running synapse/develop from git download
15 lines
276 B
Bash
Executable file
15 lines
276 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
BASE_DIR=$(cd $(dirname $0) && pwd)
|
|
cd $BASE_DIR
|
|
cd installations/consent/env/bin/
|
|
source activate
|
|
LOGFILE=$(mktemp)
|
|
echo "Synapse log file at $LOGFILE"
|
|
./synctl start 2> $LOGFILE
|
|
EXIT_CODE=$?
|
|
if [ $EXIT_CODE -ne 0 ]; then
|
|
cat $LOGFILE
|
|
fi
|
|
exit $EXIT_CODE
|