initial check-in
This commit is contained in:
18
linux-service/easy_uninstall.sh
Normal file
18
linux-service/easy_uninstall.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
cd /tmp
|
||||
|
||||
echo -e "\033[36m Mqtt2ThingBoardGateWay Service.\033[0m"
|
||||
systemctl stop Mqtt2ThingBoardGateWay.service
|
||||
|
||||
|
||||
### Uninstalling Mqtt2ThingBoardGateWay
|
||||
echo -e "\033[36m Uninstalling Mqtt2ThingBoardGateWay.\033[0m"
|
||||
|
||||
rm -rf /opt/Mqtt2ThingBoardGateWay/
|
||||
|
||||
systemctl disable Mqtt2ThingBoardGateWay.service
|
||||
rm /lib/systemd/system/Mqtt2ThingBoardGateWay.service
|
||||
systemctl daemon-reload
|
||||
|
||||
|
||||
echo -e "\033[32m Uninstall complete!\033[0m"
|
||||
Reference in New Issue
Block a user