Skip to content

Commit 02537b1

Browse files
committed
README: minor fixes.
1 parent 27eea4c commit 02537b1

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ We now use git to download the [Eclipse Paho MQTT C library](https://github.com/
7777

7878
git clone https://github.com/eclipse/paho.mqtt.c
7979
cd paho.mqtt.c
80-
make install
80+
sudo make install
81+
cd ..
8182

8283
In the next step follows the [Eclipse Paho MQTT C++ library](https://github.com/eclipse/paho.mqtt.cpp). If you also want to install the documentation and compile the examples, set the corresponding flags in the following command in the third line to `TRUE`.
8384

@@ -86,6 +87,7 @@ In the next step follows the [Eclipse Paho MQTT C++ library](https://github.com/
8687
cmake -Bbuild -H. -DPAHO_BUILD_DOCUMENTATION=FALSE -DPAHO_BUILD_SAMPLES=FALSE
8788
sudo cmake --build build/ --target install
8889
sudo ldconfig
90+
cd ..
8991

9092
### Tinkerforge Support
9193

@@ -114,17 +116,17 @@ It is recommended to run Sensorlogger with restricted privileges. The setup proc
114116
# /etc/systemd/system/sensorlogger.service
115117
# ------------------------------------------
116118
# systemctl daemon-reload
117-
# systemctl enable sensorlogger
118-
119+
# systemctl enable sensorlogger
120+
119121
[Unit]
120122
Description=Sensorlogger
121-
123+
122124
[Service]
123125
WorkingDirectory=/home/username
124126
ExecStart=/home/username/sensorlogger /home/username/config.json
125127
User=username
126128
Group=users
127-
129+
128130
[Install]
129131
WantedBy=multi-user.target
130132

@@ -212,7 +214,7 @@ The general `tinkerforge` section is used to configure the connection parameters
212214
"max_bricklet_read_failures": 8,
213215
"max_brickd_restart_attempts": 3,
214216
"brickd_restart_command": "sudo /bin/systemctl restart brickd",
215-
"system_restart_command": "sudo /bin/systemctl --force reboot"
217+
"system_restart_command": "sudo /bin/systemctl --force reboot"
216218
}
217219
```
218220
+ `"host":` Hostname or IP address where the Tinkerforge Brick Daemon can be reached. May be omitted or set to `null` if you don’t want to configure any Tinkerforge sensors.

0 commit comments

Comments
 (0)