mirror of
				https://github.com/vector-im/element-web.git
				synced 2025-11-03 17:51:51 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			276 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			16 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
 |