653 Commits

Author SHA1 Message Date
19319c1407 Add email parameter, site says they have to match to get alerts. Gotta get that early payout. 2021-02-15 20:35:38 -06:00
13f152dfe2 Not all variables will always be defined. 2021-02-15 20:22:48 -06:00
83c38d8096 Note to self. 2021-02-15 20:11:46 -06:00
51f50c4118 Stop CPU mining on x570, was opnly for testing. Get greedy with scheduling. 2021-02-15 20:07:55 -06:00
aff17f56ef Ensure user owns all assets including logs accidentally created when runing by root. 2021-02-15 20:02:18 -06:00
399396bfc3 Ignore cron calling the job with sh. 2021-02-15 19:57:14 -06:00
08e64f1c97 Add extra call for default script name just in case not called from cron. 2021-02-15 19:38:06 -06:00
3ce0b947b2 Add script too, why not. 2021-02-15 19:35:06 -06:00
60a30de652 Add another call without full path just for safety. 2021-02-15 19:34:33 -06:00
3c81c1a6a8 Allow this to fail if job was not running. 2021-02-15 19:33:56 -06:00
b595b5dca3 Don't try to nohup, let cron do it naturally. 2021-02-15 19:32:11 -06:00
c00ceaec0a Add -x for debugging. 2021-02-15 19:31:28 -06:00
693e7eee5b Always recreate script file. Kill both exec and script. 2021-02-15 19:30:06 -06:00
1b044fc5f2 Change gpus to be the first and only. 2021-02-15 19:19:21 -06:00
381a8b9e5d Ignore current script in check alive. 2021-02-15 19:13:47 -06:00
463748a73c Ensure 2nd group of 13 comments are added. 2021-02-15 19:10:34 -06:00
eb801e8524 Make the check alive command a command. Further try to make the config file obvious to read. 2021-02-15 19:06:32 -06:00
fdd1db85e5 Move check alive to be in script, not cron. 2021-02-15 18:58:06 -06:00
60c8ce0af7 Attempt to spawn off the script rather than waiting for it to finish. 2021-02-15 18:48:51 -06:00
d0230d7c42 Allow ansible to kick off the script to ensure new config file gets loaded. 2021-02-15 18:46:07 -06:00
6547edc89d Call mining fact gatherer. 2021-02-15 18:42:52 -06:00
acc33c61c1 Add space. 2021-02-15 18:41:58 -06:00
29fbf12b62 Set mfn up for using bash expressions in cron. 2021-02-15 18:41:16 -06:00
8cc014d063 Set mfn up for using bash expressions in cron. 2021-02-15 18:41:04 -06:00
744fc87318 Rename property. 2021-02-15 18:31:36 -06:00
e9841366d1 Woops, use script not executable and fix killall command. 2021-02-15 18:29:23 -06:00
c2e0d532da Change jobs to be every 5 minutes. Fix loop variables in non-loop. 2021-02-15 18:27:44 -06:00
39161a82a9 Fix comment state. 2021-02-15 18:25:24 -06:00
c4ab2a3434 Aesthetic changes. 2021-02-15 18:23:03 -06:00
84cb8194ca Setting up for showtime. 2021-02-15 18:19:32 -06:00
e7e76fb892 Ensure correct user owns tarball. 2021-02-15 18:11:48 -06:00
fc974a1b7a Fix permissions and ensure correct config is used. 2021-02-15 18:10:21 -06:00
ff7acec031 Fix comments. 2021-02-15 18:05:57 -06:00
89ca442da5 Find bash executable. 2021-02-15 18:05:22 -06:00
5f4bead14a Ignore if file is not already created. 2021-02-15 18:03:09 -06:00
2e3a6e8e94 Fix command. 2021-02-15 18:01:44 -06:00
cc25dda677 Begin ensuring everything in mfn directory is owned by mfn. 2021-02-15 18:00:12 -06:00
3a1bb2ea1d Fix pool debug. Do most nanominer tasks as mfn. 2021-02-15 17:55:23 -06:00
ba9745fcd0 First commit for creating nanomine config file. 2021-02-15 17:48:04 -06:00
9389e240ec Rename file. 2021-02-15 16:12:20 -06:00
f35527eedd Make config file useful for more than just wallets. Not sure what else yet. 2021-02-15 16:11:25 -06:00
4287c89924 Change name. 2021-02-15 16:06:48 -06:00
6b7ff31e5c Missed a variable. 2021-02-15 16:04:27 -06:00
dfe3e285b4 Lol, error was due to the comma after the section name. I must have followed a bad example since documentation does not have them. Refactor file to be config for anything miner related and private. 2021-02-15 16:03:34 -06:00
74eba07622 Try lots of ways and see if anything works. 2021-02-15 15:56:07 -06:00
1ebf325b03 Try null section. 2021-02-15 15:52:03 -06:00
6f0e07b0ca Maybe the permissions are causing the problem?? 2021-02-15 15:50:05 -06:00
5493fd61e5 Remove section due to configparser.NoSectionError and try global. 2021-02-15 15:45:49 -06:00
47c86079da Try different way of specifying key. 2021-02-15 15:43:34 -06:00
51e39cfc94 Add section specifier. 2021-02-15 15:38:42 -06:00