From 1658ad4f660386e5aee260b6e4e5b03792977aff Mon Sep 17 00:00:00 2001 From: clore Date: Thu, 16 May 2024 12:05:56 +0000 Subject: [PATCH] use hive miner bin full paths --- lib/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils.py b/lib/utils.py index 9592dbe..8eb9c90 100644 --- a/lib/utils.py +++ b/lib/utils.py @@ -103,6 +103,6 @@ def hive_set_miner_status(enabled=False): if screen_line_parts[0].split('.',1)[1]=="miner": miner_screen_running=True if miner_screen_running and not enabled: - run_command("miner stop") + run_command("/hive/bin/miner stop") elif enabled and not miner_screen_running: - run_command("nvidia-oc && miner start") \ No newline at end of file + run_command("nvidia-oc && /hive/bin/miner start") \ No newline at end of file