How do you enable the startup of the miner in Linux?
USE A STARTUP BASH SCRIPT--
Schedule a startup BASH script to run. There are detailed instructions for a "start.sh" script at the following link:
STARTUP SCRIPT HOW-TO-
https://github.com/OpenLabTools/OpenLabTools/wiki/Launching-bash-scripts-at-startupJust take the time to read, and cook your own "start.sh".
My startup script reads something like this:
=====start script=====
!# /bin/bash
./cpuminer.sh
./gpuminer.sh
=====start script=====
My cpuminer and gpuminer scripts are tested and proven to work. They include full path statements to the miner directory, and all environmental variables that may be required. The start script itself does not include the dashed "cut lines" above, of course.
Depending on your system, it may be more or less complicated. The link above should provide enough information so that you can code your own script in your personal Linux rig. In ethOS, I start my CPU miner with "custom.sh", which is hard-coded by the system to run immediately after system boot. The ethOS mining OS does not officially support CPU mining, and must be modified to run a CPU miner. However, it launches your choice of GPU miner automatically according to your configuration file. It also monitors mining statistics and reports them to a website. Custom drivers and utilities are included in the ethOS operating system, which is currently in release v1.2.3.
The developers work hard to keep an up-to-date mining environment.
--scryptr
I added the startup script to /etc/rc.local string /home/user/zecminer/start.sh but autorun on reboot does not happen. And I tried to create autorun scripts according to the ubuntu standard, but it did not work either. What am I doing wrong?