9 lines
225 B
Bash
Executable File
9 lines
225 B
Bash
Executable File
#!/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 icecast2 -c /etc/icecast2/icecast.xml
|