Fix environment variable not being forwarded to liquidsoap
All checks were successful
ci / deploy (push) Successful in 2m30s

This commit is contained in:
2026-01-20 14:19:10 +01:00
parent cc5ffc0133
commit f397ec62ed
3 changed files with 5 additions and 3 deletions

View File

@@ -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"