forked from switnet/quick-jibri-installer
				
			Test chained debug mode
This commit is contained in:
		
							parent
							
								
									471ed82eb0
								
							
						
					
					
						commit
						b64e768d94
					
				| 
						 | 
				
			
			@ -940,25 +940,42 @@ fi
 | 
			
		|||
#JRA via Nextcloud
 | 
			
		||||
if [ "$ENABLE_NC_ACCESS" = "yes" ]; then
 | 
			
		||||
	echo "JRA via Nextcloud will be enabled."
 | 
			
		||||
	if [ "$MODE" = "debug" ]; then
 | 
			
		||||
	    bash $PWD/jra_nextcloud.sh -m debug
 | 
			
		||||
	else
 | 
			
		||||
	    bash $PWD/jra_nextcloud.sh
 | 
			
		||||
	fi
 | 
			
		||||
fi
 | 
			
		||||
}  > >(tee -a qj-installer.log) 2> >(tee -a qj-installer.log >&2)
 | 
			
		||||
#Jigasi Transcript
 | 
			
		||||
if [ "$ENABLE_TRANSCRIPT" = "yes" ]; then
 | 
			
		||||
	echo "Jigasi Transcription will be enabled."
 | 
			
		||||
	# ToDo: Analyze behavior on debug
 | 
			
		||||
	#if [ "$MODE" = "debug" ]; then
 | 
			
		||||
	#    bash $PWD/jigasi.sh -m debug
 | 
			
		||||
	#else
 | 
			
		||||
	    bash $PWD/jigasi.sh
 | 
			
		||||
	#fi
 | 
			
		||||
fi
 | 
			
		||||
{
 | 
			
		||||
#Grafana Dashboard
 | 
			
		||||
if [ "$ENABLE_GRAFANA_DSH" = "yes" ]; then
 | 
			
		||||
	echo "Grafana Dashboard will be enabled."
 | 
			
		||||
	if [ "$MODE" = "debug" ]; then
 | 
			
		||||
	    bash $PWD/grafana.sh -m debug
 | 
			
		||||
	else
 | 
			
		||||
	    bash $PWD/grafana.sh
 | 
			
		||||
	fi
 | 
			
		||||
fi
 | 
			
		||||
#Docker Etherpad
 | 
			
		||||
if [ "$ENABLE_DOCKERPAD" = "yes" ]; then
 | 
			
		||||
	echo "Docker Etherpad will be enabled."
 | 
			
		||||
	if [ "$MODE" = "debug" ]; then
 | 
			
		||||
	    bash $PWD/etherpad.sh -m debug
 | 
			
		||||
	else
 | 
			
		||||
	    bash $PWD/etherpad.sh
 | 
			
		||||
	fi
 | 
			
		||||
fi
 | 
			
		||||
#Prevent Jibri conecction issue
 | 
			
		||||
if [ -z "$(grep -n $DOMAIN /etc/hosts)" ];then
 | 
			
		||||
sed -i "/127.0.0.1/a \\
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue