Fix environment variable not being forwarded to liquidsoap
All checks were successful
ci / deploy (push) Successful in 2m30s
All checks were successful
ci / deploy (push) Successful in 2m30s
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#!/bin/bash -e
|
||||
HOSTNAME=${HOSTNAME:=localhost}
|
||||
PORT=${PORT:=8000}
|
||||
|
||||
touch /songs/playlist.pls /jingles/playlist.pls
|
||||
|
||||
@@ -9,4 +11,4 @@ python /opt/je_te_met_en_pls.py /air-support
|
||||
/opt/ultrasync.sh &
|
||||
|
||||
# Run Liquidsoap as zambla user
|
||||
runuser -l zambla -c 'liquidsoap /opt/radio.liq'
|
||||
runuser -l zambla -c "HOSTNAME=$HOSTNAME PORT=$PORT liquidsoap /opt/radio.liq"
|
||||
|
||||
Reference in New Issue
Block a user