use hive miner bin full paths

This commit is contained in:
clore 2024-05-16 12:05:56 +00:00
parent 12b4239cab
commit 1658ad4f66
1 changed files with 2 additions and 2 deletions

View File

@ -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")
run_command("nvidia-oc && /hive/bin/miner start")