2018-07-27 13:08:14 +00:00
|
|
|
#!/bin/bash
|
2018-07-27 13:04:04 +00:00
|
|
|
BASE_DIR=$(readlink -f $(dirname $0))
|
2018-07-27 12:10:19 +00:00
|
|
|
cd $BASE_DIR
|
|
|
|
cd installations/consent
|
2018-07-18 15:52:29 +00:00
|
|
|
source env/bin/activate
|
2018-07-31 12:45:14 +00:00
|
|
|
LOGFILE=$(mktemp)
|
|
|
|
./synctl start 2> $LOGFILE
|
|
|
|
EXIT_CODE=$?
|
|
|
|
if [ $EXIT_CODE -ne 0 ]; then
|
|
|
|
cat $LOGFILE
|
|
|
|
fi
|
|
|
|
exit $EXIT_CODE
|