adding icecast
This commit is contained in:
8
icecast/entrypoint.sh
Normal file
8
icecast/entrypoint.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user