Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
wazzamatazz committed Apr 7, 2022
2 parents f88be53 + ddbe9bd commit 882cec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/LinuxSystemdService.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ sudo ln -s /usr/local/services/nruuvitag/nruuvitag /usr/local/bin/nruuvitag
Create file `/etc/nruuvitag.d/nruuvitag.conf` and set the `NRUUVITAG_OPTIONS` environment variable to specify the arguments to pass to `nruuvitag` when the service starts, customising them to fit your requirements:

```sh
echo "NRUUVITAG_OPTIONS=publish az <MY_AZURE_EVENT_HUB_CONNECTION_STRING> <MY_EVENT_HUB_NAME> --sample-interval 15" > nruuvitag.conf
echo "NRUUVITAG_OPTIONS=publish az <MY_AZURE_EVENT_HUB_CONNECTION_STRING> <MY_EVENT_HUB_NAME>" > nruuvitag.conf
sudo mkdir /etc/nruuvitag.d
sudo mv nruuvitag.conf /etc/nruuvitag.d
```
Expand Down

0 comments on commit 882cec1

Please sign in to comment.