Upload files to '.'
This commit is contained in:
parent
3f3e9719d3
commit
1d7816278d
|
@ -0,0 +1,24 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
supervisorctl stop all
|
||||||
|
|
||||||
|
echo -e "\033[32mINSTALLING PKT\033[0m"
|
||||||
|
rm pkt/ -rf
|
||||||
|
tar -zxf pkt-*.tgz
|
||||||
|
cd pkt;./install.skyeye;cd -
|
||||||
|
|
||||||
|
echo -e "\033[32mINSTALL SETUP\033[0m"
|
||||||
|
rm setup/ -rf
|
||||||
|
tar -zxf setup_*.tar.gz
|
||||||
|
cd setup;sh setup_3051.sh;cd -
|
||||||
|
|
||||||
|
echo -e "\033[32mINSTALL WEB\033[0m"
|
||||||
|
rm sensor_web/ -rf
|
||||||
|
tar -zxf sensor_web*.tgz
|
||||||
|
cd sensor_web;./install.web;cd -
|
||||||
|
|
||||||
|
pkill -f /usr/bin/supervisord
|
||||||
|
supervisord -c /etc/supervisord.conf >/dev/null
|
||||||
|
|
||||||
|
#supervisorctl update
|
||||||
|
#supervisorctl restart all
|
Loading…
Reference in New Issue