48 lines
1.3 KiB
Markdown
48 lines
1.3 KiB
Markdown
|
# wifictld-analyzer
|
||
|
[![Build Status](https://dev.sum7.eu/genofire/wifictld-analyzer/badges/master/build.svg)](https://dev.sum7.eu/genofire/wifictld-analyzer/pipelines)
|
||
|
[![Go Report Card](https://goreportcard.com/badge/dev.sum7.eu/genofire/wifictld-analyzer)](https://goreportcard.com/report/dev.sum7.eu/genofire/wifictld-analyzer)
|
||
|
[![GoDoc](https://godoc.org/dev.sum7.eu/genofire/wifictld-analyzer?status.svg)](https://godoc.org/dev.sum7.eu/genofire/wifictld-analyzer)
|
||
|
|
||
|
|
||
|
## Get wifictld-analyzer
|
||
|
|
||
|
#### Download
|
||
|
|
||
|
Latest Build binary from ci here:
|
||
|
|
||
|
[Download All](https://dev.sum7.eu/genofire/wifictld-analyzer/-/jobs/artifacts/master/download/?job=build-my-project) (with config example)
|
||
|
|
||
|
[Download Binary](https://dev.sum7.eu/genofire/wifictld-analyzer/-/jobs/artifacts/master/raw/wifictld-analyzer?inline=false&job=build-my-project)
|
||
|
|
||
|
#### Build
|
||
|
|
||
|
```bash
|
||
|
go get -u dev.sum7.eu/genofire/wifictld-analyzer
|
||
|
```
|
||
|
|
||
|
## Configure
|
||
|
|
||
|
see `config_example.conf`
|
||
|
|
||
|
## Start / Boot
|
||
|
|
||
|
_/lib/systemd/system/wifictld-analyzer.service_ :
|
||
|
```
|
||
|
[Unit]
|
||
|
Description=wifictld-analyzer
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
# User=notRoot
|
||
|
ExecStart=/opt/go/bin/wifictld-analyzer controller /etc/wifictld-analyzer.conf
|
||
|
Restart=always
|
||
|
RestartSec=5sec
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
```
|
||
|
|
||
|
Start: `systemctl start wifictld-analyzer`
|
||
|
Autostart: `systemctl enable wifictld-analyzer`
|