Commit Graph
100 Commits
Author SHA1 Message Date
me 399396bfc3 Ignore cron calling the job with sh. 2021-02-15 19:57:14 -06:00
me 08e64f1c97 Add extra call for default script name just in case not called from cron. 2021-02-15 19:38:06 -06:00
me 3ce0b947b2 Add script too, why not. 2021-02-15 19:35:06 -06:00
me 60a30de652 Add another call without full path just for safety. 2021-02-15 19:34:33 -06:00
me 3c81c1a6a8 Allow this to fail if job was not running. 2021-02-15 19:33:56 -06:00
me b595b5dca3 Don't try to nohup, let cron do it naturally. 2021-02-15 19:32:11 -06:00
me c00ceaec0a Add -x for debugging. 2021-02-15 19:31:28 -06:00
me 693e7eee5b Always recreate script file. Kill both exec and script. 2021-02-15 19:30:06 -06:00
me 1b044fc5f2 Change gpus to be the first and only. 2021-02-15 19:19:21 -06:00
me 381a8b9e5d Ignore current script in check alive. 2021-02-15 19:13:47 -06:00
me 463748a73c Ensure 2nd group of 13 comments are added. 2021-02-15 19:10:34 -06:00
me 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
me fdd1db85e5 Move check alive to be in script, not cron. 2021-02-15 18:58:06 -06:00
me 60c8ce0af7 Attempt to spawn off the script rather than waiting for it to finish. 2021-02-15 18:48:51 -06:00
me d0230d7c42 Allow ansible to kick off the script to ensure new config file gets loaded. 2021-02-15 18:46:07 -06:00
me 6547edc89d Call mining fact gatherer. 2021-02-15 18:42:52 -06:00
me acc33c61c1 Add space. 2021-02-15 18:41:58 -06:00
me 29fbf12b62 Set mfn up for using bash expressions in cron. 2021-02-15 18:41:16 -06:00
me 8cc014d063 Set mfn up for using bash expressions in cron. 2021-02-15 18:41:04 -06:00
me 744fc87318 Rename property. 2021-02-15 18:31:36 -06:00
me e9841366d1 Woops, use script not executable and fix killall command. 2021-02-15 18:29:23 -06:00
me c2e0d532da Change jobs to be every 5 minutes. Fix loop variables in non-loop. 2021-02-15 18:27:44 -06:00
me 39161a82a9 Fix comment state. 2021-02-15 18:25:24 -06:00
me c4ab2a3434 Aesthetic changes. 2021-02-15 18:23:03 -06:00
me 84cb8194ca Setting up for showtime. 2021-02-15 18:19:32 -06:00
me e7e76fb892 Ensure correct user owns tarball. 2021-02-15 18:11:48 -06:00
me fc974a1b7a Fix permissions and ensure correct config is used. 2021-02-15 18:10:21 -06:00
me ff7acec031 Fix comments. 2021-02-15 18:05:57 -06:00
me 89ca442da5 Find bash executable. 2021-02-15 18:05:22 -06:00
me 5f4bead14a Ignore if file is not already created. 2021-02-15 18:03:09 -06:00
me 2e3a6e8e94 Fix command. 2021-02-15 18:01:44 -06:00
me cc25dda677 Begin ensuring everything in mfn directory is owned by mfn. 2021-02-15 18:00:12 -06:00
me 3a1bb2ea1d Fix pool debug. Do most nanominer tasks as mfn. 2021-02-15 17:55:23 -06:00
me ba9745fcd0 First commit for creating nanomine config file. 2021-02-15 17:48:04 -06:00
me 9389e240ec Rename file. 2021-02-15 16:12:20 -06:00
me f35527eedd Make config file useful for more than just wallets. Not sure what else yet. 2021-02-15 16:11:25 -06:00
me 4287c89924 Change name. 2021-02-15 16:06:48 -06:00
me 6b7ff31e5c Missed a variable. 2021-02-15 16:04:27 -06:00
me 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
me 74eba07622 Try lots of ways and see if anything works. 2021-02-15 15:56:07 -06:00
me 1ebf325b03 Try null section. 2021-02-15 15:52:03 -06:00
me 6f0e07b0ca Maybe the permissions are causing the problem?? 2021-02-15 15:50:05 -06:00
me 5493fd61e5 Remove section due to configparser.NoSectionError and try global. 2021-02-15 15:45:49 -06:00
me 47c86079da Try different way of specifying key. 2021-02-15 15:43:34 -06:00
me 51e39cfc94 Add section specifier. 2021-02-15 15:38:42 -06:00
me e519d817ab Looked like it may work if I use the right parameter. 2021-02-15 15:36:03 -06:00
me 93450e54cd Do internal expressions work? 2021-02-15 15:33:26 -06:00
me 20ea4fd334 Try with variable inside single quotes. 2021-02-15 15:28:16 -06:00
me 23dfbf346e Add system facts. 2021-02-15 15:26:19 -06:00
me 3643cad3d9 Miner group can't see localhost facts, had to add variable for scp server. 2021-02-15 15:25:11 -06:00
me 7e9a363298 Try loading wallet addresses to variables. 2021-02-15 15:19:11 -06:00
me 73bedd015a Fix variable names. 2021-02-15 14:37:13 -06:00
me 8cd98fdb71 Key-value is required, add true's back. 2021-02-15 14:15:43 -06:00
me b1d0245ae9 Add quotes. 2021-02-15 14:14:17 -06:00
me ced0e9e752 Dumbify variables a bit and take some hints from finally discovered documentation on boolean functions. 2021-02-15 14:13:04 -06:00
me 67c2a54256 Add surrounding quotes. 2021-02-15 13:59:39 -06:00
me d8c45fd477 Try to do variables in a different way. No idea if it will work. 2021-02-15 13:57:22 -06:00
me 5a5b799c8a It worked!? Name was the same on both tasks though lol. 2021-02-15 12:18:07 -06:00
me 7b53d2b67b Try not on the inside. 2021-02-15 12:13:49 -06:00
me 9212efca40 Add quotes for job without function. 2021-02-15 12:10:40 -06:00
me 41d89d5100 Try not as function. 2021-02-15 12:09:25 -06:00
me cd656c3b61 Fix error. 2021-02-15 11:23:57 -06:00
me 5891b80054 Try single brace. 2021-02-15 11:22:58 -06:00
me 705bfaea2e Trying craziness. 2021-02-15 11:22:20 -06:00
me 9673f33716 Try putting not inside brackets. 2021-02-15 11:17:21 -06:00
me f5c23d9b9b 13 is too close to */15, move to 7. Try forcing the variable to a bool. 2021-02-15 11:16:06 -06:00
me 5f4f57c83f Try using not. 2021-02-15 11:12:04 -06:00
me a9965087b8 Try ! on outside. 2021-02-15 11:10:37 -06:00
me caff57f16e First attempt to create miner cron jobs. Unsure if ! will work. 2021-02-15 11:09:34 -06:00
me 7ded0b3fd0 Fix names. 2021-02-15 10:34:06 -06:00
me a6afe34294 Fix Code being dumb. 2021-02-15 10:24:26 -06:00
me 45884ffd5c Begin variablizing miner tasks. 2021-02-15 10:23:23 -06:00
me c2b427cc8f user_root is defined for localhost, not miner group. Have to gather it. 2021-02-15 10:16:56 -06:00
me 3ed9b83d44 Reorganize and simplify users. Move Downloads folder creation from miner plays. 2021-02-15 10:11:46 -06:00
me f6e06fb34c Consistency of calling scm. 2021-02-15 09:47:07 -06:00
me a42c8b9088 Service works great on FreeBSD! Edits rc.conf! 2021-02-15 09:39:39 -06:00
me 78370d0e93 Add var and job for sshd config. 2021-02-15 09:22:26 -06:00
me 65d2e71e00 Testing if service manages rc.conf entries. 2021-02-15 08:51:06 -06:00
me b34dfd0784 Ensure video and render groups exist (FreeBSD is mad). 2021-02-15 08:49:13 -06:00
me d3489ea74e Fix variable name. 2021-02-15 08:43:47 -06:00
me f2112a282a Fix variable name. 2021-02-15 08:42:20 -06:00
me 6f403491ca Changes for SSHD. 2021-02-15 08:40:32 -06:00
me a79918941c Ensure sshd is installed. 2021-02-15 08:29:20 -06:00
me e46f11cfe7 Go ahead and install zsh in case I like it and want to switch. This also fixes error in gather.yml. 2021-02-15 07:25:25 -06:00
me 37904d7bd3 Move system monitor by terminal. 2021-02-14 19:53:11 -06:00
me d879b23422 Add users to OpenCL groups. 2021-02-14 18:32:50 -06:00
me 635bb3abc1 Manjaro install failed, possibly due to to shell changing. Add zsh option. 2021-02-14 16:36:31 -06:00
me bc041cc3bb Ignore error from VS Code. 2021-02-14 08:19:13 -06:00
me 744f4e93b2 Add video tools to favorites. 2021-02-14 08:11:12 -06:00
me cf3f2c974b Fix firefox and flatpak uninstalls. 2021-02-14 08:07:14 -06:00
me 93c848d9fa Change order and add OBS. 2021-02-14 08:06:21 -06:00
me fd9201d62e Update names. 2021-02-14 08:04:58 -06:00
me 7c09171315 Change name. 2021-02-14 08:02:14 -06:00
me db6f098c26 Rearrange a few items and add monitor. 2021-02-14 07:58:50 -06:00
me 5862bb2d10 Use loops for much easier management and readability. 2021-02-14 07:54:57 -06:00
me d6ae6f7448 Remove Code from repos. 2021-02-14 07:49:47 -06:00
me b3c2f65cae Ignore errors. Had to uninstall from Manjaro manually, unsure why package was unhappy. 2021-02-14 07:31:01 -06:00
me 956f405293 Fix name. 2021-02-14 07:29:35 -06:00
me b4ec98752b Manjaro failed to uninstall snapd, try disabling it first. 2021-02-14 07:26:58 -06:00
me a50cc99839 Starting support for Arch/Manjaro. 2021-02-14 07:22:29 -06:00