file goes in /.config/autostart on GUI linux machines and runs the 'auto-fix-qortal.sh' script 720 seconds (7 min) after system boot.
This is to enable a VISIBLE run of the auto-fix script, so people know what is going on, and to also make it so that if it DOES have to fix something, it will start qortal VISIBLY.
(considering modifying auto-fix-cron so that the only thing that takes place is the DOWNLOAD of the new script, but not sure yet.)
This script is used to SETUP/INSTALL the auto-fix-qortal script and automation therein on pi devices with pi username.
If your pi device is not running with default pi username, you will need to modify the paths so that they utilize the correct username.
in theory it will also start another terminal, and run the auto-fix-qortal script itself in that new terminal. (I do not know if this will work on headless devices this way, if not I will write another script targeted at headless setup.)
This script will be updated as time goes on, and auto-fix script updates this one, so we want to use this one instead.
Will also test launching in new terminal window in the future.
This script is build to be placed on desktop for linux machines, and will stop/start qortal core for them. This can be used for any linux machine after running auto-fix script from cron and not showing qortal icon, if the user wants to see the icon.
it can also be used by QORTector to start Qortal in a way that shows the icon easily.
Initially the script was moving to Machine-files directory, removed that so it doesn't do that anymore, instead simply moves the files without changing directory so it stays 'home' all the time.
Also added new cron configuration download and setup, and additional script for checking Qortal status when auto-fix script runs via cron, and has work to do (in which case the Qortal icon will not show up)
User can either wait a few hours, then reboot the machine, or use the check-qortal-status script to get the current status of the core after auto-fix runs from cron.
Auto-fix setup to run automatically @reboot and every 5 days at 1:01 AM.
Added new scripts for auto-fix, added new desktop wallpaper, modified methodology a bit, and ended with a reboot and instructions to login with cinnamon upon restart instead of starting qortal core refresh. Refresh can be run AFTER reboot and desktop configuration changes.
In the future, will add as many of the desktop configuration changes as possible as well, once I figure out how to do them with terminal. :)
This script is meant to be placed on the desktop and run manually by double-clicking it and clicking 'run in terminal' - it will simply display the status of the Qortal core to the user, then tail the log for 10 minutes, and exit.
This is meant to be used by QORTector with cron auto-start that doesn't show the Qortal icon, so that the user can still see the status.
This script will check the hash of the release version of Qortal (in a way that will surely be modified in the future) - It will then verify that the installed qortal.jar is the same hash as the new release. If so, it will exit.
If the installed qortal.jar is a DIFFERENT hash than release version, it will remove existing version, replace with new version, remove db, log files, update start script to use a version that uses max RAM for the JVM of 2.2GB, then start Qortal so that it will auto-bootstrap.
This is a VERY early and VERY 'rough' version of the script, but it works.
It needs a lot more checks to ensure it doesn't remove qortal with nothing to replace it, etc...
it NEEDS internet connectivity, and checks for that.
Many other additions will happen as well.
This script is meant to be run on a BRAND NEW Ubuntu installation, and it will download the necessary files and images used to customize the OS in accordance to CHD's 'Qortal-OS' Ubuntu Customizations.
Downloads and sets up the Qortal Core, Qortal UI, and grabs a few custom images from the Qortal Cloud, puts them all in the correct locations, then starts the Qortal refresh script.