====== unms ======
stop current running service if any
cd /home/unms/app
./unms-cli stop
save old data and backup
mv /home/unms/data /home/unms/data_old
install
curl -fsSL https://unms.com/install > /tmp/unms_inst.sh
bash /tmp/unms_inst.sh
upgrade
curl -fsSL https://uisp.ui.com/v1/install > /tmp/uisp_inst.sh && sudo bash /tmp/uisp_inst.sh --update --version 1.4.4
restore from backup
cd /home/unms/app
./unms-cli stop
sudo /home/unms/app/unms-cli restore-backup --file /home/unms/data_old/unms-backups/backups/