From 4f288c94cf1465f9167b447e4a13dc92fcc2244c Mon Sep 17 00:00:00 2001 From: builderjer Date: Wed, 1 Nov 2023 06:31:01 -0600 Subject: [PATCH] fix hivemind --- .github/workflows/raspbian-ovos.yaml | 2 +- stage-hivemind/01-hive-core/files/hivemind-listener.service | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/raspbian-ovos.yaml b/.github/workflows/raspbian-ovos.yaml index cd05682..194a790 100644 --- a/.github/workflows/raspbian-ovos.yaml +++ b/.github/workflows/raspbian-ovos.yaml @@ -13,7 +13,7 @@ jobs: id: build with: # Final image name. - image-name: raspbian-ovos-dev + image-name: raspOVOS-dev # List of stage name to execute in given order. Relative and absolute paths to # custom stage directories are allowed here. Note that by default pi-gen exports diff --git a/stage-hivemind/01-hive-core/files/hivemind-listener.service b/stage-hivemind/01-hive-core/files/hivemind-listener.service index b4f7a4c..989de16 100644 --- a/stage-hivemind/01-hive-core/files/hivemind-listener.service +++ b/stage-hivemind/01-hive-core/files/hivemind-listener.service @@ -4,9 +4,12 @@ After=pulseaudio.service [Service] Type=simple -ExecStart=%h/.venv/bin/python hivemind-core listen +ExecStart=%h/.venv/bin/python %h/.venv/bin/hivemind-core listen TimeoutStartSec=10m TimeoutStopSec=1m Restart=on-failure StartLimitInterval=5min StartLimitBurst=4 + +[Install] +WantedBy=ovos.service