Skip to content

Commit

Permalink
Move systemd and Home Assistant sections further up (under Installation)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jalle19 committed Mar 12, 2022
1 parent 6bbe487 commit c4aa77a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,17 @@ https://www.home-assistant.io/integrations/switch.rest/ with minimal effort. See
See further down in this README on how to run the application as a Home Assistant addon as well as how to run it in
the background using systemd.

### Running as a systemd service

You can use the provided systemd unit to run the software as a daemon. Simply copy the file to
`/etc/systemd/system/eda-modbus-bridge.service`, edit it to suit your needs (you'll most likely want to change the
user it is being run as) then run `sudo systemctl enable eda-modbus-bridge` to start the service automatically on
boot, and finally `sudo systemctl start eda-modbus-bridge` to start the service.

### Running as a Home Assistant OS addon

See https://github.com/Jalle19/home-assistant-addon-repository/tree/main/eda-modbus-bridge

## Usage

```
Expand Down Expand Up @@ -311,17 +322,6 @@ in Home Assistant automatically through the MQTT integration. The following enti
![](https://raw.githubusercontent.com/Jalle19/eda-modbus-bridge/master/docs/readme_ha3.png "Home Assistant sensors")
![](https://raw.githubusercontent.com/Jalle19/eda-modbus-bridge/master/docs/readme_ha4.png "Home Assistant configuration")

## Running as a systemd service

You can use the provided systemd unit to run the software as a daemon. Simply copy the file to
`/etc/systemd/system/eda-modbus-bridge.service`, edit it to suit your needs (you'll most likely want to change the
user it is being run as) then run `sudo systemctl enable eda-modbus-bridge` to start the service automatically on
boot, and finally `sudo systemctl start eda-modbus-bridge` to start the service.

## Running as a Home Assistant OS addon

See https://github.com/Jalle19/home-assistant-addon-repository/tree/main/eda-modbus-bridge

## License

GNU GENERAL PUBLIC LICENSE 3.0

0 comments on commit c4aa77a

Please sign in to comment.