mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 23:31:28 +03:00
14 lines
239 B
Bash
Executable file
14 lines
239 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
BASE_DIR=$(cd $(dirname $0) && pwd)
|
|
cd $BASE_DIR
|
|
cd installations/consent
|
|
source env/bin/activate
|
|
LOGFILE=$(mktemp)
|
|
./synctl start 2> $LOGFILE
|
|
EXIT_CODE=$?
|
|
if [ $EXIT_CODE -ne 0 ]; then
|
|
cat $LOGFILE
|
|
fi
|
|
exit $EXIT_CODE
|