Browse Source

Fixed http-server directory

Gamaliel Espinoza 6 năm trước cách đây
mục cha
commit
90218017bf
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      fourier_install.sh

+ 5 - 1
fourier_install.sh

@@ -102,7 +102,7 @@ else
 	sudo apt-get install -y rtl-sdr
 	sudo apt-get install -y sqlite3
 	sudo apt-get install -y portaudio19-dev
-	sudo apt-get install dvb-apps
+	sudo apt-get install -y dvb-apps
 	sudo pip install pyaudio pyusb pydub numpy requests \
 					 scipy python-firebase tornado mutagen
 	sudo apt-get install -y ffmpeg
@@ -176,7 +176,11 @@ fi
 		pm2 start ondemand/ondemand/service.py \
 				  --interpreter=python \
 				  --name=ondemand
+
+		cd "$datapath"
 		pm2 start http-server
+		cd "$programspath"
+
 		pm2 save
 		pm2 startup