Skip to content
Snippets Groups Projects
Forked from AURA / engine
1704 commits behind, 158 commits ahead of the upstream repository.
run.sh 326 B
#/usr/bin/bash
mode="engine"
debug="--debug --verbose"

if [ -n "$1" ]; then
	if [[ $1 =~ ^(engine|lqs)$ ]]; then 
  		mode=$1 
	fi
fi

echo "[ Run mode=$mode ]"

if [ $mode == "engine" ]; then
	/usr/bin/python3.6 aura.py
fi

if [ $mode == "lqs" ]; then
	(cd modules/liquidsoap/ && /usr/bin/liquidsoap $debug ./engine.liq) 
fi