379 Commits

Author SHA1 Message Date
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
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
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
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
5f4bead14a Ignore if file is not already created. 2021-02-15 18:03:09 -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
4287c89924 Change name. 2021-02-15 16:06:48 -06:00
73bedd015a Fix variable names. 2021-02-15 14:37:13 -06:00
b1d0245ae9 Add quotes. 2021-02-15 14:14:17 -06:00
ced0e9e752 Dumbify variables a bit and take some hints from finally discovered documentation on boolean functions. 2021-02-15 14:13:04 -06:00
d8c45fd477 Try to do variables in a different way. No idea if it will work. 2021-02-15 13:57:22 -06:00
5a5b799c8a It worked!? Name was the same on both tasks though lol. 2021-02-15 12:18:07 -06:00
7b53d2b67b Try not on the inside. 2021-02-15 12:13:49 -06:00
9212efca40 Add quotes for job without function. 2021-02-15 12:10:40 -06:00
41d89d5100 Try not as function. 2021-02-15 12:09:25 -06:00
cd656c3b61 Fix error. 2021-02-15 11:23:57 -06:00
5891b80054 Try single brace. 2021-02-15 11:22:58 -06:00
705bfaea2e Trying craziness. 2021-02-15 11:22:20 -06:00
9673f33716 Try putting not inside brackets. 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. 2021-02-15 11:16:06 -06:00
5f4f57c83f Try using not. 2021-02-15 11:12:04 -06:00
a9965087b8 Try ! on outside. 2021-02-15 11:10:37 -06:00
caff57f16e First attempt to create miner cron jobs. Unsure if ! will work. 2021-02-15 11:09:34 -06:00
7ded0b3fd0 Fix names. 2021-02-15 10:34:06 -06:00
a6afe34294 Fix Code being dumb. 2021-02-15 10:24:26 -06:00
45884ffd5c Begin variablizing miner tasks. 2021-02-15 10:23:23 -06:00
c2b427cc8f user_root is defined for localhost, not miner group. Have to gather it. 2021-02-15 10:16:56 -06:00
3ed9b83d44 Reorganize and simplify users. Move Downloads folder creation from miner plays. 2021-02-15 10:11:46 -06:00
f6e06fb34c Consistency of calling scm. 2021-02-15 09:47:07 -06:00
a42c8b9088 Service works great on FreeBSD! Edits rc.conf! 2021-02-15 09:39:39 -06:00
78370d0e93 Add var and job for sshd config. 2021-02-15 09:22:26 -06:00
65d2e71e00 Testing if service manages rc.conf entries. 2021-02-15 08:51:06 -06:00
b34dfd0784 Ensure video and render groups exist (FreeBSD is mad). 2021-02-15 08:49:13 -06:00
f2112a282a Fix variable name. 2021-02-15 08:42:20 -06:00