36 lines
677 B
Markdown
36 lines
677 B
Markdown
# TowerD
|
|
|
|
I wrote this to control the "hardware" on KW1FOX-1 tower.
|
|
|
|
its.. not really intended for use anywhere else but, if anything inspires you go ahead and grab it!
|
|
|
|
## Install
|
|
|
|
```shell
|
|
sudo git clone https://git.kitsunehosting.net/Kenwood/towerd.git /opt/towerd
|
|
cd /opt/towerd
|
|
cargo build --release
|
|
sudo cp systemd/towerd.service /etc/systemd/system/
|
|
sudo systemctl daemon-reload
|
|
sudo systemctl enable --now towerd
|
|
```
|
|
|
|
## Usage
|
|
|
|
```shell
|
|
./target/release/towerd --verbose
|
|
|
|
# systemd
|
|
sudo systemctl status towerd
|
|
sudo journalctl -u towerd -f
|
|
```
|
|
|
|
## Config
|
|
|
|
Edit in `/etc/towerd/env`
|
|
|
|
```
|
|
TOWERD_INFLUX_TOKEN=<token>
|
|
TOWERD_INFLUX_ORG=<org>
|
|
TOWERD_INFLUX_BUCKET=<xyz>
|
|
``` |