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

Chore: Ability to override Liquidsoap path

parent fbe3218f
No related branches found
No related tags found
1 merge request!3Liquidsoap 2 migration
...@@ -30,7 +30,7 @@ fi ...@@ -30,7 +30,7 @@ fi
echo "[ Run mode=$mode ]" echo "[ Run mode=$mode ]"
echo "[ Docker=$docker ]" echo "[ Docker=$docker ]"
LQS_CMD=liquidsoap
# +++ DEFAULT COMMANDS +++ # # +++ DEFAULT COMMANDS +++ #
...@@ -40,19 +40,19 @@ if [[ $docker == "false" ]]; then ...@@ -40,19 +40,19 @@ if [[ $docker == "false" ]]; then
### Runs Engine Core in Development (Liquidsoap) ### ### Runs Engine Core in Development (Liquidsoap) ###
if [[ $mode == "dev" ]]; then if [[ $mode == "dev" ]]; then
(cd src && liquidsoap ./engine.liq) (cd src && $LQS_CMD ./engine.liq)
fi fi
### Runs Engine Core in Production (Liquidsoap) ### ### Runs Engine Core in Production (Liquidsoap) ###
if [[ $mode == "prod" ]]; then if [[ $mode == "prod" ]]; then
(cd src && liquidsoap ./engine.liq) (cd src && $LQS_CMD ./engine.liq)
fi fi
### Runs Engine Core (Verbose & debug output) ### ### Runs Engine Core (Verbose & debug output) ###
if [[ $mode == "debug" ]]; then if [[ $mode == "debug" ]]; then
(cd src && liquidsoap --verbose --debug ./engine.liq) (cd src && $LQS_CMD --verbose --debug ./engine.liq)
fi fi
### Tails the log file only (Used for Docker debugging) ### ### Tails the log file only (Used for Docker debugging) ###
......
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