From da0470b7b0db59155d47ed771717a41fcc734960 Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Tue, 23 Jan 2024 11:42:20 +0100 Subject: [PATCH] Mention systemd unit in README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 7a7b141..b5a4145 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,9 @@ file; 5. Run `HA_TOKEN=your_token12341234123432 node .` + +To setup the systemd unit to make this run in the background: + +1. Adjust the path in `ExecStart` part of `hyperion-ha-bridge.service` file in this repo; +2. Copy this file to `/etc/systemd/system/ha-bridge.service` +3. Run `systemctl daemon-reload && systemctl enable --now ha-bridge`