522 Commits

Author SHA1 Message Date
1229ffe238 Proxmox servers still need root shell access. 2021-02-20 10:26:08 -06:00
6c39ed1e1f PVE servers need root shell. 2021-02-20 10:03:04 -06:00
037e7fedd2 Ensure hostname matches what DNS expects. 2021-02-20 09:52:09 -06:00
deebbac89d Use cert called office. 2021-02-20 09:35:57 -06:00
a40a1e73f1 Add HTTPS config. Cerbot automatically configures existing ds.conf so no need for copying template. 2021-02-20 09:14:55 -06:00
bd107b5f0a Simplify with become_user. 2021-02-20 07:48:49 -06:00
d7c302aa44 Add gnuPG for calling apt-key adv. 2021-02-20 07:44:54 -06:00
d298f16356 Quotes interfered with postgres password. 2021-02-19 08:09:34 -06:00
6e48c25e9c Add script for installing OnlyOffice. 2021-02-19 08:00:20 -06:00
3265dc3cfa Add server section with container for onlyoffice. 2021-02-19 07:35:29 -06:00
91664d6b26 Put everything in a combined log file for easy searching or tailing. 2021-02-18 07:51:57 -06:00
8e3d71a96f Need to use sudo to reboot successfully. ;D 2021-02-18 07:46:57 -06:00
5d776aa05f Add usage for miner variables. Future me and maybe others will thank you. 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. 2021-02-17 05:18:44 -06:00
38a73884c0 Fix name. 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. 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. 2021-02-15 20:46:46 -06:00
b6d261c29e Delete unused file. 2021-02-15 20:44:25 -06:00
4bffb398e1 Disable web password, move to port 8080. 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. 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