primeiro commit
This commit is contained in:
8
run
Normal file
8
run
Normal 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"
|
||||
Reference in New Issue
Block a user