make build
Install sensord
binary
sudo cp sensord /usr/bin/sensord
Copy unit file to /lib/systemd/system/
sudo cp systemd/sensord.service /lib/systemd/system/sensord.service
Reload systemd units
sudo systemctl daemon-reload
Enable sensord.service
and start the service
sudo systemctl enable sensord.service
sudo systemctl start sensord.service
Check if running properly
sudo systemctl status sensord
# Set Go version to install
export GO_VERSION=1.19
# Download & install
wget https://go.dev/dl/go$GO_VERSION.linux-armv6l.tar.gz
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf go$GO_VERSION.linux-armv6l.tar.gz
# Add to $PATH
export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:/home/pi/go/bin