primeiro commit

This commit is contained in:
2024-05-23 21:19:51 -03:00
commit 02492d3733
3 changed files with 45 additions and 0 deletions

8
run Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
set -e
configfile=/opt/icecast-server/config/icecast.xml
if [ ! -f "$configfile" ]; then
echo "arquivo $configfile não existe, criando config padrão"
cp -v /opt/icecast-server/etc/icecast.xml "$configfile"
fi
/opt/icecast-server/bin/icecast -c "$configfile"