mirror of
https://github.com/luzifer-docker/icecast2.git
synced 2024-11-14 02:32:41 +00:00
11 lines
273 B
Bash
11 lines
273 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# Copy default config to /config if not existent
|
||
|
if ! [ -e /config/icecast.xml ]; then
|
||
|
cp /etc/icecast2/icecast.xml /config/icecast.xml
|
||
|
chown icecast2 /config/icecast.xml
|
||
|
fi
|
||
|
|
||
|
# Hand over to icecast
|
||
|
sudo -u icecast2 /usr/bin/icecast2 -c /config/icecast.xml
|