mirror of
https://github.com/tschettervictor/bsd-apps.git
synced 2025-12-18 16:20:47 +01:00
Update icecast-install.sh - fix config file location
This commit is contained in:
@@ -12,16 +12,16 @@ pkg install -y \
|
|||||||
icecast
|
icecast
|
||||||
|
|
||||||
# Create Directories
|
# Create Directories
|
||||||
mkdir -p /usr/local/www/icecast
|
mkdir -p /usr/local/etc/icecast
|
||||||
mkdir -p /var/log/icecast
|
mkdir -p /var/log/icecast
|
||||||
|
|
||||||
# Icecast Setup
|
# Icecast Setup
|
||||||
if ! [ "$(ls -A "/usr/local/www/icecast")" ]; then
|
if [ ! -f /usr/local/etc/icecast/icecast.xml ]; then
|
||||||
cp /usr/local/etc/icecast.xml /usr/local/www/icecast/
|
cp /usr/local/etc/icecast.xml /usr/local/etc/icecast/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Enable and Start Services
|
# Enable and Start Services
|
||||||
sysrc icecast_config="/usr/local/www/icecast/icecast.xml"
|
sysrc icecast_config="/usr/local/etc/icecast/icecast.xml"
|
||||||
sysrc icecast_enable="YES"
|
sysrc icecast_enable="YES"
|
||||||
service icecast start
|
service icecast start
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user