pws migrate
pws auth -usr "rpi-device" -pwd "rpi-device" -host "192.168.1.61"
or
pws migrate
go run . auth -usr "rpi-device" -pwd "rpi-device" -host "192.168.1.61"
GOOS=linux GOARCH=arm64 go build -o build/linux/pws
GOOS=windows GOARCH=arm64 go build -o build/windows/pws
GOOS=windows GOARCH=amd64 go build -o build/windows/pws.exe
scp ./build/linux/pws [email protected]:~
sudo mv pws /usr/local/bin
sudo chmod +x /usr/local/bin/pws
scp ./pws-service.conf [email protected]:~
sudo mv pws-service.conf /etc/supervisor/conf.d
sudo supervisorctl reread
sudo supervisorctl update
sudo supervisorctl start "pws-service:*"