Updated README.md to reflect Debian package build

This commit is contained in:
B.J. Dweck 2020-10-07 12:57:57 +02:00
parent b2a8a2f90b
commit 7fe2fbd64e

View File

@ -13,20 +13,16 @@ A TORch solution consists of 3 processes:
* MQTT broker - Any MQTT broker, reachable via IPv4 or Tor, through TLS or insecure communications
* `torch-subscriber` - Listens for and handles onion hostname publications
## Installation of TORch Agent (Ubuntu)
## Build Debian Package
Copy the files to the target device
* `install-ubuntu2004.sh`
* `torch-agent.py`
* `torch.conf`
* `torch.service`
Run `make-pkg.sh` to build a Debian package and install it
Run the installation script:
```bash
vagrant@ubuntu2004:~$ ./install-ubuntu2004.sh
./make-pkg.sh
apt update && apt install build/torch-agent_0.0.1-1_all.deb
```
This will create a local user `torch` and install the TORch agent as a Systemd service named `torch`
This will create a local user `torch` and install the TORch agent as a Systemd service named `torch-agent`
## Configuration
@ -43,6 +39,4 @@ See the sample [`torch.conf`](torch.conf) file for additional configuration opti
## Roadmap
[ ] Create a Debian service installation package
[ ] Create a [pi-gen](https://github.com/RPi-Distro/pi-gen) image with TORch agent installed and `/boot` partition configuration