Compare commits

..

No commits in common. "main" and "test2" have entirely different histories.
main ... test2

2 changed files with 2 additions and 6 deletions

View File

@ -1,3 +0,0 @@
{
"appId": "4ad379bb-0a97-45da-af44-f090aee3b40d"
}

View File

@ -2,9 +2,8 @@
set -e
sudo pip install paho-mqtt
sudo sed -i "s/appName/$1_$2/g" /usr/local/sdt/app/$1_$2/example-app.service
sudo cp /usr/local/sdt/app/$1_$2/example-app.service /etc/systemd/system/$1.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 systemctl start $1
sudo systemctl enable $1