dont swallow synapse startup errors
This commit is contained in:
parent
f57628e3d0
commit
97fa7e03d1
1 changed files with 7 additions and 1 deletions
|
@ -3,4 +3,10 @@ BASE_DIR=$(readlink -f $(dirname $0))
|
||||||
cd $BASE_DIR
|
cd $BASE_DIR
|
||||||
cd installations/consent
|
cd installations/consent
|
||||||
source env/bin/activate
|
source env/bin/activate
|
||||||
./synctl start 2> /dev/null
|
LOGFILE=$(mktemp)
|
||||||
|
./synctl start 2> $LOGFILE
|
||||||
|
EXIT_CODE=$?
|
||||||
|
if [ $EXIT_CODE -ne 0 ]; then
|
||||||
|
cat $LOGFILE
|
||||||
|
fi
|
||||||
|
exit $EXIT_CODE
|
Loading…
Add table
Add a link
Reference in a new issue