Commit Graph

  • 037e7fedd2 Ensure hostname matches what DNS expects. me 2021-02-20 09:52:09 -06:00
  • deebbac89d Use cert called office. me 2021-02-20 09:35:57 -06:00
  • a40a1e73f1 Add HTTPS config. Cerbot automatically configures existing ds.conf so no need for copying template. me 2021-02-20 09:14:55 -06:00
  • bd107b5f0a Simplify with become_user. me 2021-02-20 07:48:49 -06:00
  • d7c302aa44 Add gnuPG for calling apt-key adv. me 2021-02-20 07:44:54 -06:00
  • d298f16356 Quotes interfered with postgres password. me 2021-02-19 08:09:34 -06:00
  • 6e48c25e9c Add script for installing OnlyOffice. me 2021-02-19 08:00:20 -06:00
  • 3265dc3cfa Add server section with container for onlyoffice. me 2021-02-19 07:35:29 -06:00
  • 91664d6b26 Put everything in a combined log file for easy searching or tailing. me 2021-02-18 07:51:57 -06:00
  • 8e3d71a96f Need to use sudo to reboot successfully. ;D me 2021-02-18 07:46:57 -06:00
  • 5d776aa05f Add usage for miner variables. Future me and maybe others will thank you. me 2021-02-17 05:38:43 -06:00
  • 637358e793 Obviously this only needs run on apt machines lol. Just in case I test mining on Arch later. me 2021-02-17 05:18:44 -06:00
  • 38a73884c0 Fix name. me 2021-02-17 05:14:12 -06:00
  • 7953bc7a51 GPU mining performance starting to report lower over time, looks like lots of watchdog processes running. Add a daily reboot as well as follow-up patch. Refactor current schedule document across a few files. me 2021-02-17 05:12:25 -06:00
  • e699825d11 Split commands in case I'd like to push but not wait for pull to finish. me 2021-02-15 20:46:46 -06:00
  • b6d261c29e Delete unused file. me 2021-02-15 20:44:25 -06:00
  • 4bffb398e1 Disable web password, move to port 8080. me 2021-02-15 20:43:06 -06:00
  • 19319c1407 Add email parameter, site says they have to match to get alerts. Gotta get that early payout. me 2021-02-15 20:35:38 -06:00
  • 13f152dfe2 Not all variables will always be defined. me 2021-02-15 20:22:48 -06:00
  • 83c38d8096 Note to self. me 2021-02-15 20:11:46 -06:00
  • 51f50c4118 Stop CPU mining on x570, was opnly for testing. Get greedy with scheduling. me 2021-02-15 20:07:55 -06:00
  • aff17f56ef Ensure user owns all assets including logs accidentally created when runing by root. me 2021-02-15 20:02:18 -06:00
  • 399396bfc3 Ignore cron calling the job with sh. me 2021-02-15 19:57:14 -06:00
  • 08e64f1c97 Add extra call for default script name just in case not called from cron. me 2021-02-15 19:38:06 -06:00
  • 3ce0b947b2 Add script too, why not. me 2021-02-15 19:35:06 -06:00
  • 60a30de652 Add another call without full path just for safety. me 2021-02-15 19:34:33 -06:00
  • 3c81c1a6a8 Allow this to fail if job was not running. me 2021-02-15 19:33:56 -06:00
  • b595b5dca3 Don't try to nohup, let cron do it naturally. me 2021-02-15 19:32:11 -06:00
  • c00ceaec0a Add -x for debugging. me 2021-02-15 19:31:28 -06:00
  • 693e7eee5b Always recreate script file. Kill both exec and script. me 2021-02-15 19:30:06 -06:00
  • 1b044fc5f2 Change gpus to be the first and only. me 2021-02-15 19:19:21 -06:00
  • 381a8b9e5d Ignore current script in check alive. me 2021-02-15 19:13:47 -06:00
  • 463748a73c Ensure 2nd group of 13 comments are added. me 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. me 2021-02-15 19:06:32 -06:00
  • fdd1db85e5 Move check alive to be in script, not cron. me 2021-02-15 18:58:06 -06:00
  • 60c8ce0af7 Attempt to spawn off the script rather than waiting for it to finish. me 2021-02-15 18:48:51 -06:00
  • d0230d7c42 Allow ansible to kick off the script to ensure new config file gets loaded. me 2021-02-15 18:46:07 -06:00
  • 6547edc89d Call mining fact gatherer. me 2021-02-15 18:42:52 -06:00
  • acc33c61c1 Add space. me 2021-02-15 18:41:58 -06:00
  • 29fbf12b62 Set mfn up for using bash expressions in cron. me 2021-02-15 18:41:16 -06:00
  • 8cc014d063 Set mfn up for using bash expressions in cron. me 2021-02-15 18:41:04 -06:00
  • 744fc87318 Rename property. me 2021-02-15 18:31:36 -06:00
  • e9841366d1 Woops, use script not executable and fix killall command. me 2021-02-15 18:29:23 -06:00
  • c2e0d532da Change jobs to be every 5 minutes. Fix loop variables in non-loop. me 2021-02-15 18:27:44 -06:00
  • 39161a82a9 Fix comment state. me 2021-02-15 18:25:24 -06:00
  • c4ab2a3434 Aesthetic changes. me 2021-02-15 18:23:03 -06:00
  • 84cb8194ca Setting up for showtime. me 2021-02-15 18:19:32 -06:00
  • e7e76fb892 Ensure correct user owns tarball. me 2021-02-15 18:11:48 -06:00
  • fc974a1b7a Fix permissions and ensure correct config is used. me 2021-02-15 18:10:21 -06:00
  • ff7acec031 Fix comments. me 2021-02-15 18:05:57 -06:00
  • 89ca442da5 Find bash executable. me 2021-02-15 18:05:22 -06:00
  • 5f4bead14a Ignore if file is not already created. me 2021-02-15 18:03:09 -06:00
  • 2e3a6e8e94 Fix command. me 2021-02-15 18:01:44 -06:00
  • cc25dda677 Begin ensuring everything in mfn directory is owned by mfn. me 2021-02-15 18:00:12 -06:00
  • 3a1bb2ea1d Fix pool debug. Do most nanominer tasks as mfn. me 2021-02-15 17:55:23 -06:00
  • ba9745fcd0 First commit for creating nanomine config file. me 2021-02-15 17:48:04 -06:00
  • 9389e240ec Rename file. me 2021-02-15 16:12:20 -06:00
  • f35527eedd Make config file useful for more than just wallets. Not sure what else yet. me 2021-02-15 16:11:25 -06:00
  • 4287c89924 Change name. me 2021-02-15 16:06:48 -06:00
  • 6b7ff31e5c Missed a variable. me 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. me 2021-02-15 16:03:34 -06:00
  • 74eba07622 Try lots of ways and see if anything works. me 2021-02-15 15:56:07 -06:00
  • 1ebf325b03 Try null section. me 2021-02-15 15:52:03 -06:00
  • 6f0e07b0ca Maybe the permissions are causing the problem?? me 2021-02-15 15:50:05 -06:00
  • 5493fd61e5 Remove section due to configparser.NoSectionError and try global. me 2021-02-15 15:45:49 -06:00
  • 47c86079da Try different way of specifying key. me 2021-02-15 15:43:34 -06:00
  • 51e39cfc94 Add section specifier. me 2021-02-15 15:38:42 -06:00
  • e519d817ab Looked like it may work if I use the right parameter. me 2021-02-15 15:36:03 -06:00
  • 93450e54cd Do internal expressions work? me 2021-02-15 15:33:26 -06:00
  • 20ea4fd334 Try with variable inside single quotes. me 2021-02-15 15:28:16 -06:00
  • 23dfbf346e Add system facts. me 2021-02-15 15:26:19 -06:00
  • 3643cad3d9 Miner group can't see localhost facts, had to add variable for scp server. me 2021-02-15 15:25:11 -06:00
  • 7e9a363298 Try loading wallet addresses to variables. me 2021-02-15 15:19:11 -06:00
  • 73bedd015a Fix variable names. me 2021-02-15 14:37:13 -06:00
  • 8cd98fdb71 Key-value is required, add true's back. me 2021-02-15 14:15:43 -06:00
  • b1d0245ae9 Add quotes. me 2021-02-15 14:14:17 -06:00
  • ced0e9e752 Dumbify variables a bit and take some hints from finally discovered documentation on boolean functions. me 2021-02-15 14:13:04 -06:00
  • 67c2a54256 Add surrounding quotes. me 2021-02-15 13:59:39 -06:00
  • d8c45fd477 Try to do variables in a different way. No idea if it will work. me 2021-02-15 13:57:22 -06:00
  • 5a5b799c8a It worked!? Name was the same on both tasks though lol. me 2021-02-15 12:18:07 -06:00
  • 7b53d2b67b Try not on the inside. me 2021-02-15 12:13:49 -06:00
  • 9212efca40 Add quotes for job without function. me 2021-02-15 12:10:40 -06:00
  • 41d89d5100 Try not as function. me 2021-02-15 12:09:25 -06:00
  • cd656c3b61 Fix error. me 2021-02-15 11:23:57 -06:00
  • 5891b80054 Try single brace. me 2021-02-15 11:22:58 -06:00
  • 705bfaea2e Trying craziness. me 2021-02-15 11:22:20 -06:00
  • 9673f33716 Try putting not inside brackets. me 2021-02-15 11:17:21 -06:00
  • f5c23d9b9b 13 is too close to */15, move to 7. Try forcing the variable to a bool. me 2021-02-15 11:16:06 -06:00
  • 5f4f57c83f Try using not. me 2021-02-15 11:12:04 -06:00
  • a9965087b8 Try ! on outside. me 2021-02-15 11:10:37 -06:00
  • caff57f16e First attempt to create miner cron jobs. Unsure if ! will work. me 2021-02-15 11:09:34 -06:00
  • 7ded0b3fd0 Fix names. me 2021-02-15 10:34:06 -06:00
  • a6afe34294 Fix Code being dumb. me 2021-02-15 10:24:26 -06:00
  • 45884ffd5c Begin variablizing miner tasks. me 2021-02-15 10:23:23 -06:00
  • c2b427cc8f user_root is defined for localhost, not miner group. Have to gather it. me 2021-02-15 10:16:56 -06:00
  • 3ed9b83d44 Reorganize and simplify users. Move Downloads folder creation from miner plays. me 2021-02-15 10:11:46 -06:00
  • f6e06fb34c Consistency of calling scm. me 2021-02-15 09:47:07 -06:00
  • a42c8b9088 Service works great on FreeBSD! Edits rc.conf! me 2021-02-15 09:39:39 -06:00
  • 78370d0e93 Add var and job for sshd config. me 2021-02-15 09:22:26 -06:00
  • 65d2e71e00 Testing if service manages rc.conf entries. me 2021-02-15 08:51:06 -06:00