Another update

This commit is contained in:
BWS Systems
2016-11-08 15:55:50 -06:00
committed by GitHub
parent 23a6c7059c
commit 9baff8d403

View File

@@ -34,8 +34,6 @@ pi@raspberrypi:~/habridge $ wget https://github.com/bwssytems/ha-bridge/releases
```
For next gen Linux systems (this includes the Raspberry Pi), here is a systemctl unit file that you can install. Here is a link on how to do this: https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units
*NOTE ON RC.LOCAL*: Due to the way network subsystem is brought up on the pi, it uses the new systemctl to start services. The old style runlevel setup, which rc.local is part of does not get the benefit of knowing if the network has been fully realized. Starting ha-bridge from rc.local on next gen systems will cause unexpected results and issues with discovering registered devices.
```
[Unit]
Description=HA Bridge
@@ -51,6 +49,8 @@ WantedBy=multi-user.target
```
Basic script setup to run the bridge on a pi.
*NOTE ON RC.LOCAL*: Due to the way network subsystem is brought up on the pi, it uses the new systemctl to start services. The old style runlevel setup, which rc.local is part of does not get the benefit of knowing if the network has been fully realized. Starting ha-bridge from rc.local on next gen systems will cause unexpected results and issues with discovering registered devices.
Edit the shell script for starting:
```
pi@raspberrypi:~/habridge $ nano starthabridge.sh