From 83c38d8096642e5dd6f07d19531a4e6cd68fbf8e Mon Sep 17 00:00:00 2001 From: Hyperling Date: Mon, 15 Feb 2021 20:11:46 -0600 Subject: [PATCH] Note to self. --- tasks/miner/software/nanominer.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/miner/software/nanominer.yml b/tasks/miner/software/nanominer.yml index 9dd21a0..988fda8 100644 --- a/tasks/miner/software/nanominer.yml +++ b/tasks/miner/software/nanominer.yml @@ -168,6 +168,9 @@ ## Reload ## +# TODO: Make this a script that always gets called by cron. +# It should kill the miner if a user logs into an X session, such as if I'm gaming. +# Then once I log out the job should come back within the minute. - name: Miner | Software | Nanominer | Reload shell: "killall {{ nanominer_script }}; killall {{ nanominer_exec }}; killall nanominer.sh; killall nanominer" become_user: mfn