Update install.sh
This commit is contained in:
parent
7208ac80e2
commit
cd6bf4e74f
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
sudo pip install paho-mqtt
|
||||||
sudo sed -i "s/appName/$1/g" /usr/local/sdt/app/$1/example-app.service
|
sudo sed -i "s/appName/$1/g" /usr/local/sdt/app/$1/example-app.service
|
||||||
sudo cp /usr/local/sdt/app/$1/example-app.service /etc/systemd/system/$1.service
|
sudo cp /usr/local/sdt/app/$1/example-app.service /etc/systemd/system/$1.service
|
||||||
sudo systemctl start $1
|
sudo systemctl start $1
|
||||||
|
|
Loading…
Reference in New Issue