Update install.sh

This commit is contained in:
sujune 2023-11-06 07:11:03 +00:00
parent 7208ac80e2
commit cd6bf4e74f
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@
set -e
sudo pip install paho-mqtt
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 systemctl start $1