rm /tmp/upsSmartServer_lockfile
rm /tmp/upsSmartServer
rm /tmp/upsSmartView_lockfile
rm /tmp/upsSmartView
cp upsSmartView /usr/local/ -rf
cp upsSmartView.service /etc/systemd/system
systemctl stop upsSmartView
systemctl daemon-reload
systemctl enable upsSmartView
systemctl start upsSmartView
