Skip to content
Snippets Groups Projects
Commit a62be540 authored by David Trattnig's avatar David Trattnig
Browse files

Added startup script.

parent 4f7df8fa
No related branches found
No related tags found
No related merge requests found
run.sh 0 → 100755
#/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
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment