Commit e917b6fa authored by Andrey Shatokhin's avatar Andrey Shatokhin

.

parent 5ca7887d
...@@ -17,6 +17,7 @@ fi ...@@ -17,6 +17,7 @@ fi
if [[ ! -f ./$1.mpd.conf ]];then if [[ ! -f ./$1.mpd.conf ]];then
cp -p $ICECAST_DIR/template.mpd.conf $ICECAST_DIR/$1.mpd.conf cp -p $ICECAST_DIR/template.mpd.conf $ICECAST_DIR/$1.mpd.conf
mkdir $ICECAST_DIR/$1 mkdir $ICECAST_DIR/$1
mkdir $ICECAST_DIR/$1/Music
touch $ICECAST_DIR/$1/mpd.log touch $ICECAST_DIR/$1/mpd.log
touch $ICECAST_DIR/$1/mpdstate touch $ICECAST_DIR/$1/mpdstate
touch $ICECAST_DIR/$1/mpd.db touch $ICECAST_DIR/$1/mpd.db
......
...@@ -6,8 +6,8 @@ db_file "#1/mpd.db" ...@@ -6,8 +6,8 @@ db_file "#1/mpd.db"
####################################################################### #######################################################################
######################## OPTIONAL PATHS ############################### ######################## OPTIONAL PATHS ###############################
pid_file "/home/icecastradio/#1/mpd.pid" pid_file "#1/mpd.pid"
state_file "/home/icecastradio/#1/mpdstate" state_file "#1/mpdstate"
####################################################################### #######################################################################
######################## DAEMON OPTIONS ############################### ######################## DAEMON OPTIONS ###############################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment