9 lines
224 B
Bash
9 lines
224 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
# Substitute environment variables into template
|
|
envsubst < /etc/icecast2/icecast.xml.template > /etc/icecast2/icecast.xml
|
|
|
|
# Run icecast with the generated config
|
|
exec icecast -c /etc/icecast2/icecast.xml
|