Install DHT Exporter service

License: MIT Go Reference Go DHT DHT Exporter Go WiringPi Last Commit

  1. Run make in the parent directory - dht-exporter application must be created.
  2. Edit file service.conf:
    • InstallPrefix - dht-exporter install location (default: /bin).
    • EnvirionmentPrefix - environment configuration location (default: /etc/default).
    • User - service user (default: root).
    • Options - command-line options. Use dht-exporter -h for help.
  3. Run installation script
sudo ./install-service

Uninstall DHT Exporter service

To stop and delete a service, run

sudo ./uninstall-service